Making Nokogiri install again on Mountain Lion
As probably any geek out there, I upgraded my OS to Apple Mountain Lion.
The upgrade created a lot of problems for me, I basically had to reinstall almost everything, from MySql to homebrew.
I am not sure if everyone experienced the same thing, but that was the case for me.
One of the problems I encountered was that I could not install Nokogiri anymore on my machine, bundler would not install it and complain about dependencies not being installed (specifically
To fix it, you need to reinstall Ruby using RVM with livxml properly linked.
libxslt through homebrew, like so:
If that doesn’t work you probably need to install
libiconv like so:
1 2 3 4 5 6 7 8 9 10
And then install
Once that’s done without errors, reinstall Ruby.
RVM will figure out those libraries location and properly install Ruby with those linked up.