Created
July 14, 2016 23:56
-
-
Save jonathan-beebe/681137371075d72249922ffa991dfff7 to your computer and use it in GitHub Desktop.
Fixing nokogiri on OS X 10.12 El Capitan
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
| gem install nokogiri -v '1.6.8' -- --use-system-libraries=true --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Sierra (10.12) I replaced 10.11 with 10.12 (doh!), so:
´´´´´
gem install nokogiri -v '1.6.8' -- --use-system-libraries=true --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2
´´´´´