-
Notifications
You must be signed in to change notification settings - Fork 34
Patch bundler to allow different rubies #30
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
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. |
Edouard-chin
left a comment
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
Edouard-chin
left a comment
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_PATCHtoBOOTBOOT_UPDATING_ALTERNATE_LOCKFILEbecause I thought it would be confusing if theRubyVersionpatch took effect when that var was present, which is what needs to happen.