Skip to content

Instantly share code, notes, and snippets.

@aujkis
Created November 25, 2014 08:19
Show Gist options
  • Save aujkis/e8d04ced7ad2a87ae53e to your computer and use it in GitHub Desktop.
Save aujkis/e8d04ced7ad2a87ae53e to your computer and use it in GitHub Desktop.
yeyeye

Install nokogiri gem on Yosemite

brew tap homebrew/dupes

brew install libxml2 libxslt

brew install libiconv

bundle config build.nokogiri --with-xslt-dir=/usr/local/opt/libxslt --with-iconv-dir=/usr/local/opt/libiconv --with-xml2-config=/usr/local/opt/libxml2/bin/xml2-config --with-xslt-config=/usr/local/opt/libxslt/bin/xslt-config

bundle install

gem install nokogiri -v 1.6.3.1 -- --with-xslt-dir=/usr/local/opt/libxslt --with-iconv-dir=/usr/local/opt/libiconv --with-xml2-config=/usr/local/opt/libxml2/bin/xml2-config --with-xslt-config=/usr/local/opt/libxslt/bin/xslt-config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment