Skip to content

Instantly share code, notes, and snippets.

@Dagnan
Last active August 29, 2015 14:06
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 Dagnan/de4f60bcdaa8dce08095 to your computer and use it in GitHub Desktop.
Save Dagnan/de4f60bcdaa8dce08095 to your computer and use it in GitHub Desktop.
Install Nokogiri on OSX 10.9.4
# Xcode has been installed with the full version (don't forget to accept the licence)
# Ruby has been installed with rbenv
# Not needed for recent versions of Nokogiri
#brew install libxml2 libxslt
#brew link --force libxml2 libxslt
brew tap homebrew/dupes
brew install --force libiconv
brew link --force libiconv
gem install nokogiri -v '1.6.2.1' -- --with-iconv-dir=/usr/local/Cellar/libiconv/1.14/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment