Skip to content

Commit

Permalink
fix: unset BUNDLE_APP_CONFIG to prevent Ruby contamination macOS/linux
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed May 3, 2023
1 parent b8c1020 commit ab540b3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions packaging/pact-broker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ LIBDIR="`cd \"$DIR\" && cd ../lib && pwd`"
export BUNDLE_GEMFILE="$LIBDIR/vendor/Gemfile"
unset BUNDLE_IGNORE_CONFIG
unset RUBYGEMS_GEMDEPS
unset BUNDLE_APP_CONFIG
export 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.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ LIBDIR="`cd \"$DIR\" && cd ../lib && pwd`"
export BUNDLE_GEMFILE="$LIBDIR/vendor/Gemfile"
unset BUNDLE_IGNORE_CONFIG
unset RUBYGEMS_GEMDEPS
unset BUNDLE_APP_CONFIG
export 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.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ LIBDIR="`cd \"$DIR\" && cd ../lib && pwd`"
export BUNDLE_GEMFILE="$LIBDIR/vendor/Gemfile"
unset BUNDLE_IGNORE_CONFIG
unset RUBYGEMS_GEMDEPS
unset BUNDLE_APP_CONFIG
export 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.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ LIBDIR="`cd \"$DIR\" && cd ../lib && pwd`"
export BUNDLE_GEMFILE="$LIBDIR/vendor/Gemfile"
unset BUNDLE_IGNORE_CONFIG
unset RUBYGEMS_GEMDEPS
unset BUNDLE_APP_CONFIG
export 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.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ LIBDIR="`cd \"$DIR\" && cd ../lib && pwd`"
export BUNDLE_GEMFILE="$LIBDIR/vendor/Gemfile"
unset BUNDLE_IGNORE_CONFIG
unset RUBYGEMS_GEMDEPS
unset BUNDLE_APP_CONFIG
export 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.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ LIBDIR="`cd \"$DIR\" && cd ../lib && pwd`"
export BUNDLE_GEMFILE="$LIBDIR/vendor/Gemfile"
unset BUNDLE_IGNORE_CONFIG
unset RUBYGEMS_GEMDEPS
unset BUNDLE_APP_CONFIG
export 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.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ LIBDIR="`cd \"$DIR\" && cd ../lib && pwd`"
export BUNDLE_GEMFILE="$LIBDIR/vendor/Gemfile"
unset BUNDLE_IGNORE_CONFIG
unset RUBYGEMS_GEMDEPS
unset BUNDLE_APP_CONFIG
export BUNDLE_FROZEN=1

# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
Expand Down
1 change: 1 addition & 0 deletions packaging/pactflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ LIBDIR="`cd \"$DIR\" && cd ../lib && pwd`"
export BUNDLE_GEMFILE="$LIBDIR/vendor/Gemfile"
unset BUNDLE_IGNORE_CONFIG
unset RUBYGEMS_GEMDEPS
unset BUNDLE_APP_CONFIG
export BUNDLE_FROZEN=1

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

0 comments on commit ab540b3

Please sign in to comment.