-
-
Notifications
You must be signed in to change notification settings - Fork 901
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
[install] Issue installing on Apple M1 Max #2512
Comments
@aj7 Sorry you're having problems, I'll try to help. Something looks broken on your machine. The output of
and you can see that the CPU is part of the platform name on mine (which is correct). If you want the native (precompiled) gem to work, you'll need to figure out what's going on there. Potentially related, there are architecture warnings in the output of
I don't know much about Macs, but it is possible you copied files from a previous intel mac? Or that something is going on with conflicting Rosetta and non-Rosetta installations of Ruby? |
I think the ruby version 2.6.5 is too old to run on M1. It seems that ruby-2.6.8 is required at least: ffi/ffi#922 (comment) |
thanks @larskanis and @flavorjones - makes sense and I will look into it...was resisting upgrading ruby version to avoid application breaks....i've quite convinced this is what it should be...i will close this now! |
hi @aj7 is this worked ?, I also facing exactly same issue |
@tyagi-manan Please open a new issue or discussion if you're having problems. Thanks. |
bundle platform
-> Your platform is: -darwin21Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?
What is the complete output of
gem install
orbundle install
?If installation completed but is broken, what is the complete output from
nokogiri -v
?If installation failed during compilation, what are the complete contents of the
mkmf.log
file generated during the failed installation?Tell us about your system!
What is the output from
ruby -v
?ruby 2.6.5p114 (2019-10-01 revision 67812) [-darwin21]
What is the output from
gem -v
?3.0.9
What is the output from
gem env
?If you're using Bundler:
bundle version
? Bundler version 1.17.3 (2020-12-09 commit d7089abb6a)bundle config
? (Take care to redact any credentials)If you're on MacOS, please note:
gcc -v
orclang -v
gcc -v
Apple clang version 13.1.6 (clang-1316.0.21.2)
Target: x86_64-apple-darwin21.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
If Linux or a BSD variant, please note:
uname -a
/etc/lsb-release
.If Windows, please note:
The text was updated successfully, but these errors were encountered: