Skip to content

Instantly share code, notes, and snippets.

@n0ts
Created August 1, 2012 05:54
Show Gist options
  • Select an option

  • Save n0ts/3224126 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

Works great! Thanks.

@bigardone

Copy link
Copy Markdown

Yes! It also worked for me! Thanks!

@phuwanart

Copy link
Copy Markdown

Thanks!!

@timimsms

Copy link
Copy Markdown

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