Skip to content

Commit

Permalink
fix: unset BUNDLE_APP_CONFIG to prevent Ruby contamination
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Apr 14, 2020
1 parent 3953281 commit 43ba935
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packaging/pact-broker.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CALL :RESOLVE "%RUNNING_PATH%\.." ROOT_PATH
set "BUNDLE_GEMFILE=%ROOT_PATH%\lib\vendor\Gemfile"
set BUNDLE_IGNORE_CONFIG=
set RUBYGEMS_GEMDEPS=
set BUNDLE_APP_CONFIG=
set BUNDLE_FROZEN=1

:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
Expand Down
1 change: 1 addition & 0 deletions packaging/pact-message.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CALL :RESOLVE "%RUNNING_PATH%\.." ROOT_PATH
set "BUNDLE_GEMFILE=%ROOT_PATH%\lib\vendor\Gemfile"
set BUNDLE_IGNORE_CONFIG=
set RUBYGEMS_GEMDEPS=
set BUNDLE_APP_CONFIG=
set BUNDLE_FROZEN=1

:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
Expand Down
1 change: 1 addition & 0 deletions packaging/pact-mock-service.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CALL :RESOLVE "%RUNNING_PATH%\.." ROOT_PATH
set "BUNDLE_GEMFILE=%ROOT_PATH%\lib\vendor\Gemfile"
set BUNDLE_IGNORE_CONFIG=
set RUBYGEMS_GEMDEPS=
set BUNDLE_APP_CONFIG=
set BUNDLE_FROZEN=1

:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
Expand Down
1 change: 1 addition & 0 deletions packaging/pact-provider-verifier.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CALL :RESOLVE "%RUNNING_PATH%\.." ROOT_PATH
set "BUNDLE_GEMFILE=%ROOT_PATH%\lib\vendor\Gemfile"
set BUNDLE_IGNORE_CONFIG=
set RUBYGEMS_GEMDEPS=
set BUNDLE_APP_CONFIG=
set BUNDLE_FROZEN=1

:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
Expand Down
1 change: 1 addition & 0 deletions packaging/pact-publish.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CALL :RESOLVE "%RUNNING_PATH%\.." ROOT_PATH
set "BUNDLE_GEMFILE=%ROOT_PATH%\lib\vendor\Gemfile"
set BUNDLE_IGNORE_CONFIG=
set RUBYGEMS_GEMDEPS=
set BUNDLE_APP_CONFIG=
set BUNDLE_FROZEN=1

:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
Expand Down
1 change: 1 addition & 0 deletions packaging/pact-stub-service.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CALL :RESOLVE "%RUNNING_PATH%\.." ROOT_PATH
set "BUNDLE_GEMFILE=%ROOT_PATH%\lib\vendor\Gemfile"
set BUNDLE_IGNORE_CONFIG=
set RUBYGEMS_GEMDEPS=
set BUNDLE_APP_CONFIG=
set BUNDLE_FROZEN=1

:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
Expand Down
1 change: 1 addition & 0 deletions packaging/pact.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CALL :RESOLVE "%RUNNING_PATH%\.." ROOT_PATH
set "BUNDLE_GEMFILE=%ROOT_PATH%\lib\vendor\Gemfile"
set BUNDLE_IGNORE_CONFIG=
set RUBYGEMS_GEMDEPS=
set BUNDLE_APP_CONFIG=
set BUNDLE_FROZEN=1

:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
Expand Down

0 comments on commit 43ba935

Please sign in to comment.