Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly set ENV['BUNDLE_BIN_PATH'] #2285

Closed
wants to merge 1 commit into from

Conversation

MSP-Greg
Copy link
Contributor

@MSP-Greg MSP-Greg commented Jul 10, 2019

Below is only when using ruby 2.7.

This fixes CI failures that occur with nested bundle exec commands, as often testing is started with bundle exec <test>...

Once activated, bundler redefines Gem.activate_bin_path, and the value of ENV['BUNDLE_BIN_PATH'] is used for subsequent bundle commands.

In master/trunk/2.7.0, bundler is installed as a default gem, and at some point in time I assume the bundle exe folder was within the lib/bundler folder. Now, it is in the gems folder. Patch updates the location so that that ENV['BUNDLE_BIN_PATH'] is correct.

ping @hsbt

@MSP-Greg
Copy link
Contributor Author

Closing in favor of rubygems/bundler#7248

@MSP-Greg MSP-Greg closed this Jul 13, 2019
@MSP-Greg MSP-Greg deleted the fix-nested-bundle-exec branch July 17, 2019 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant