-
Notifications
You must be signed in to change notification settings - Fork 32
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
Patch bundler to allow different rubies #30
Conversation
I'm not sure why the build it failing, I think it must be something to do with the bundler version on Travis, but the tests all pass locally 🤔. |
@Edouard-chin I'm not sure if you monitor this repo regularly, so just want to ping you directly 😊. |
Hey, thanks for the PR ❤️ . I think this feature make sense. I don't have the bandwidth to do a proper review now, but I'll try to take some time next week to look. |
Sure, thanks! I'm okay if you end up deciding it's not a good fit, but I'm using it already so figured I'd upstream it if possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Can you address my small comment as well as adding a section in the README for this new feature. Thanks !
I think the additions made to |
Instead of just adding an error message assertion, I actually reimplemented the patch to add Ruby to the Metadata source instead of overriding
|
7b29098
to
27fdeb3
Compare
After reviewing my previous commit, I realized that patching Also, overriding |
27fdeb3
to
7aa5549
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is great 👏
Thanks for taking the time to review and give feedback! |
This allows using bootboot for dual booting different versions of Ruby.
For example:
I updated the env var from
SKIP_BUNDLER_PATCH
toBOOTBOOT_UPDATING_ALTERNATE_LOCKFILE
because I thought it would be confusing if theRubyVersion
patch took effect when that var was present, which is what needs to happen.