Skip to content
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

[bugfix] Bump bundled ruby to 2.7 branch to include fix for m1 #350

Merged
merged 1 commit into from
Nov 12, 2022

Conversation

bibstha
Copy link
Contributor

@bibstha bibstha commented Nov 8, 2022

the ruby submodule was pointing to an older version of ruby 2.7 which did not contain fix for M1 apple silicon.
The latest fixes have not yet been released as a patch version for ruby 2.7.X. I'm now using the default ruby 2.7 branch which works with rubyfmt without any issue.

With this patch, I can successfully build rubyfmt on M1 apple silicon (also tested in Mac OSX Ventura)

For example: ruby/ruby#6297 is where ruby has the patch for building in M1 but is not in 2.7.6 ruby tag.

cc: @penelopezone @reese

@stepheneb
Copy link

Don't know when the next release for Ruby 2.7 is planned.

In case it's helpful for review here are all the changes between v2.7.6 and 2_7: ruby/ruby@v2_7_6...ruby_2_7

Copy link
Collaborator

@reese reese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- I don't think any of the changes to ruby in this bump should really affect parsing, so this should be totally fine. Thanks for the fix! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants