Skip to content

Instantly share code, notes, and snippets.

@zekus
Forked from retr0h/gist:1001477
Created June 11, 2011 13:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zekus/1020543 to your computer and use it in GitHub Desktop.
Save zekus/1020543 to your computer and use it in GitHub Desktop.
RVM + HomeBrew + Nokogiri
export BREW_HOME=/usr/local
brew install libxml2
brew link libxml2
brew install https://github.com/adamv/homebrew-alt/raw/master/duplicates/libxslt.rb
brew link libxslt
brew install libiconv
brew link libiconv
gem install nokogiri -- --with-xml2-dir=$BREW_HOME/Cellar/libxml2/2.7.8 --with-xslt-dir=$BREW_HOME/Cellar/libxslt/1.1.26 --with-iconv-dir=$BREW_HOME/Cellar/libiconv/1.13.1/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment