Installing Nokogiri 1.6.6.2 on Mac OS X 10.10

Posted . Visible to the public.

If nokogiri is failing to install

gem install nokogiri -- --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 --use-system-libraries

Configure bundler to use the same settings with

bundle config build.nokogiri --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 --use-system-libraries

Andy Henson
Posted by Andy Henson to Foxsoft (2015-07-10 03:48)