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

Bundler 2 #5659

Merged
merged 3 commits into from Jan 6, 2019
Merged

Bundler 2 #5659

merged 3 commits into from Jan 6, 2019

Conversation

deivid-rodriguez
Copy link
Member

This PR upgrades the bundler locked version to 2.0.1. Bundler 2 provides version autoswitching according to the version present in the lockfile, so a binstub for bundler itself is no longer needed.

In order for bundler 2 to work in CI, I also needed to override the BUNDLER_VERSION environment variable because of docker-library/ruby#246. The fix for this has already been added to the official docker images for ruby, but have not yet been deployed. Once the fixed images are available, the overriding of the BUNDLER_VERSION environment variable can be removed.

This reverts commit 97ae562.

Version auto-switching is a default feature in bundler 2, so a binstub
is no longer needed.
Base ruby docker images where setting the `BUNDLER_VERSION` environment
variable. This environment variable is used in bundler 2 to override
"lock file bundler version guessing". Setting this environment variable
has been removed from the official docker images, so that it doesn't
interfere with this feature, but it has not yet been released. So for
now we override the `BUNDLER_VERSION` environment variable with the
value we want, so that bundler can properly run.
@deivid-rodriguez
Copy link
Member Author

Thanks @zorab47! ❤️

@deivid-rodriguez deivid-rodriguez merged commit dfab856 into master Jan 6, 2019
@deivid-rodriguez deivid-rodriguez deleted the bundler_2 branch January 6, 2019 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants