On my iMac, I had trouble installing Nokogiri 1.6 while running Ruby 2.0.0-p0. Upgrading to p247 fixed the problem.