Skip to content

Instantly share code, notes, and snippets.

@thoran
Last active July 7, 2023 03:13
Show Gist options
  • Save thoran/8b0818960ec848b0eebc1f58be94b705 to your computer and use it in GitHub Desktop.
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
arch -arm64 gem install nokogiri -v '1.13.10' --platform=ruby -- --use-system-libraries
@thoran
Copy link
Author

thoran commented Jul 7, 2023

bundle install
gem uninstall nokogiri -aIx
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