-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add Darwin ARM target #14
Comments
Hey @lloeki ! Great to see this being worked on, do you have an idea when this could be released? |
@vseguin I released a build based on node 15.5.1 just yesterday, |
@lloeki is it pushed to rubygems?
I bumped sqreen to 1.23.0 - which seems to resolve to |
I suppose you're trying to use macOS's own Ruby, which you can check with I encourage you to try installing your own Ruby e.g. through |
@lloeki so hum sorry to come back on this, but I confirmed I am on rbenv's Ruby 2.7.1
I tried this and it seems that's it's only "-darwin20", no arm64 or arm64e? |
@vseguin Can you run Examples:
|
Im also having issues installing on my M1 MacBook Air...
and the error:
|
Looks like the same deal: This is output straight from Ruby's I see you're running 2.6.x in rbenv. Unfortunately as far as I can tell Ruby 2.7.x is the first Ruby version supporting Indeed, there's ruby/ruby@f469298 where you can read the following items:
And the patchset contains other important fixes for Apple Silicon (the desc is a bit obscured in the commit message, but there's important stuff regarding coroutines, without which you'd get seemingly random segfaults). It's apparently just followed by ruby/ruby@811b2b0 which is the bump to 2.7.2. Of course Apple provides their own 2.6 with a set of patches of their own, but it's heavily deprecated and doesn't contain some of the fixes above. So my suggestion would be to stick to 2.7.2 and up on M1, unless you want to backport that patchset (at least, there may be more needed). |
Ah, |
worked like a charm! |
Apple's Ruby 2.6 is not to be relied on. Truly universal builds are painful, and Apple's Ruby is the only instance of it. Reports all around say it works fine for all non-Apple, non-universal >2.7.2 rubies. No CI yet. |
The text was updated successfully, but these errors were encountered: