-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Properly auto-install the right bundler version #168
Properly auto-install the right bundler version #168
Conversation
And fix failures.
Interestingly, this I merged my Ruby update PR (#166) to split this from this PR and just rebased yours (hopefully to save you the bother and not just be annoying…). It'd be a good to see a test here too. Do you think there's something we could do to ensure this is working? |
I was thinking that since this patch allows appraisals tests to pass against the latest version of bundler, actually testing against the latest version bundler would be enough to cover the fix (or maybe testing against both 1.17 and 2.1?). If this needs a more specific test, then I'll try to find out some time to think about it. |
Right yeah, I agree with that. I'm curious that whilst we're not currently testing this, it's different behaviour and whether or not we should or not. Incidentally, I tried this branch on Ruby 2.7 on Administrate and we get some fun errors there: https://circleci.com/gh/thoughtbot/administrate/5904 any thoughts? |
I'm having a look now 👍 |
Ok, so this PR does fix the issue of auto installing the correct However, that reveals a potential incompatibility between bundler 1.17 and ruby 2.7 as the errors you reference show. Upgrading bundler gets past that issue, but reveals yet another incompatibility, in this case between ruby 2.7 and rails 4.2. You might be able to fix that last issue by pinning administrate to |
Any news @nickcharlton? :) |
I think on further thought that this is the right approach to take, so I'm going to merge it and see what goes wrong! |
Thanks @nickcharlton! |
Need the following to be released: thoughtbot/appraisal@5868643 PR: thoughtbot/appraisal#168
Need the following to be released: thoughtbot/appraisal@5868643 PR: thoughtbot/appraisal#168
@nickcharlton 👋 hello! Any chance of cutting a release with this? |
👋 hello friend! Yeah — I hadn't revisited since so I must've forgotten about it. I'll do this on Friday (2020-06-05). |
Prevents `appraisal rake` to write a boolean on the standard output when checking the installed version of bundler Bug introduced in thoughtbot#168 5868643 Fix: thoughtbot#180
And fix failures.
@nickcharlton This is equivalent to #166, but I included a small fix in the test code, so we can use the latest version of bundler.