I\'ve just updated to OS X Mountain Lion and I\'m getting the following when working with rails and terminal.
WARNING: Nokogiri was built against LibXML vers
all the solution listed so far in here didn't work for me.
So, I did a brew uninstall libxml2 it was the version libxml2 2.8.0
and i guess my os x has libxml2 version 2.7.8 pre-installed
then i did gem uninstall nokogiri and then gem install nokogiri
Warning is gone now. But it's libxml2 version 2.7.8 and not the latest. So, I appreciate, if you suggest some solution that work with latest version of libxml2.