-
Notifications
You must be signed in to change notification settings - Fork 5
Upgrade bundler to v2 #8906
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
Upgrade bundler to v2 #8906
Conversation
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.
I don't actually see any place where this is actually specified. I presume that that's because bundler
is sort of outside the framework. That said, we should at least update bin/dev/bootstrap.sh
which has a note about pinning an older version due to incompatibility.
My guess is that circleci picks up the bundler version in the Gemfile.lock but I also couldn't find anything explicit as to why that current version of bundler is there without a Good point on the bin/dev/bootstrap.sh |
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 for testing this helpful upgrade!
Upgrade bundler to v2 (#8906)
WHAT
Upgrade bundler from 1.17.3 to 2.2.33.
WHY
There's an incompatibility with M1 ARM architecture and our current version of
mini_racer
and the dependency libv8. One workaround involves using the rosetta2 emulator to build gems using the older intel architecture. However, this eliminates the benefit of the ARM processor. By upgrading bundler we don't have to use rosetta2 anymore. A more standard solution is simply upgrading bundler to v2.Also, Heroku supports bundler v2 and future upgrades to ruby will be streamlined with using a newer version of bundler.
HOW
After
gem install -v 2.2.33
, runbundle update --bundler
.Screenshots
(If applicable. Also, please censor any sensitive data)
Notion Card Links
(Please provide links to any relevant Notion card(s) relevant to this PR.)