-
Notifications
You must be signed in to change notification settings - Fork 375
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
Use BUNDLE_GEMFILE directly instead of appraisal binary #4069
Conversation
appraisal binary appears to be incompatible with bundler 2.4+ that set BUNDLER_SETUP environment variable. In some cases developers are already using BUNDLE_GEMFILE manually to invoke appraisal configurations, probably those using ruby 3.3 and newer. This commit changes the rakefile to always use BUNDLE_GEMFILE approach, making it work for all Ruby versions, and adds documentation stating that appraisal binary does not work and to use the BUNDLE_GEMFILE manual approach.
This PR should repair the need to pin to old versions of bundler as was done in #4054. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4069 +/- ##
=======================================
Coverage 97.72% 97.72%
=======================================
Files 1338 1338
Lines 80248 80248
Branches 4016 4016
=======================================
Hits 78422 78422
Misses 1826 1826 ☔ View full report in Codecov by Sentry. |
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.
Nice, thanks!
What does this PR do?
appraisal binary appears to be incompatible with bundler 2.4+ that set BUNDLER_SETUP environment variable.
In some cases developers are already using BUNDLE_GEMFILE manually to invoke appraisal configurations, probably those using ruby 3.3 and newer.
This PR changes the rakefile to always use BUNDLE_GEMFILE approach, making it work for all Ruby versions, and adds documentation stating that appraisal binary does not work and to use the BUNDLE_GEMFILE manual approach.
Motivation:
Fixing CI in #4040
Change log entry
None
Additional Notes:
How to test the change?
Tested in #4059