Last active
July 7, 2023 03:13
-
-
Save thoran/8b0818960ec848b0eebc1f58be94b705 to your computer and use it in GitHub Desktop.
For when Rubygems is getting the platform wrong (thinks its x86_64 when it should be arm64) when installing nokogiri
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arch -arm64 gem install nokogiri -v '1.13.10' --platform=ruby -- --use-system-libraries |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bundle install
gem uninstall nokogiri -aIx
arch -arm64 gem install nokogiri -v '1.13.10' --platform=ruby -- --use-system-libraries