Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 27th, 2012  |  syntax: None  |  size: 0.37 KB  |  hits: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. export BREW_HOME=/usr/local
  2.  
  3. brew install libxml2
  4. brew link libxml2
  5. brew install https://github.com/adamv/homebrew-alt/raw/master/duplicates/libxslt.rb
  6. brew link libxslt
  7. brew install libiconv
  8. brew link libiconv
  9. 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/