Skip to content

Instantly share code, notes, and snippets.

@n0ts
Created August 1, 2012 05:54
Show Gist options
  • Save n0ts/3224126 to your computer and use it in GitHub Desktop.
Save n0ts/3224126 to your computer and use it in GitHub Desktop.
Install nokogiri for Mountain Lion
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8
$ bundle config build.nokogiri --with-xml2-include=$HOMEBREW_HOME/Cellar/libxml2/2.8.0/include/libxml2 --with-xml2-lib=$HOMEBREW_HOME/Cellar/libxml2/2.8.0/lib --with-xslt-dir=$HOMEBREW_HOME/Cellar/libxslt/1.1.26
$ gem uninstall nokogiri
$ bundle install
@brendanstennett
Copy link

Works great! Thanks.

@bigardone
Copy link

Yes! It also worked for me! Thanks!

@phuwanart
Copy link

Thanks!!

@timimsms
Copy link

YESSS!!!!!

Thanks a bunch, that thing was driving me insane.

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