Skip to content

Instantly share code, notes, and snippets.

@ryanjm
Created February 18, 2010 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanjm/307996 to your computer and use it in GitHub Desktop.
Save ryanjm/307996 to your computer and use it in GitHub Desktop.
Installing Nokogiri
I had an issue with getting nokogiri working with various gems and plugins, such as
bundler. This is the steps I took to get it working. I've used macports on this
machine and I uninstalled it a few days, trying to use homebrew.
Uninstall all previous versions of nokogiri
If you're using brew then make sure you have libxml2 installed
brew install libxml2
Then create a sim link
sudo ln -s /usr/include/libxml2 /opt/local/include/libxml2
(got this from: http://stackoverflow.com/questions/704544/problems-installing-mechanize-gem-on-mac-os-x-10-4-11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment