I\'ve been working through the Rails install instructions (http://railsapps.github.io/installrubyonrails-mac.html) and everything was okay up until I got to gem instal
gem instal
For some reason nokogiri build process for libxml2 will misplace build version.
Instead of lib/ it will to go lib64/. Nokogiri will then look for it in the wrong directory.
lib/
lib64/
More info here: https://github.com/sparklemotion/nokogiri/issues/1334