I\'m getting this error when trying to run rspec in Hartl\'s tutorial. I googled the error, but it\'s never for the specific version and the fixes don\'t actually fix my pro
Your error message says:
nokogiri.bundle requires version 11.0.0 or later, but libxml2.2.dylib provides version 10.0.0
This makes me think that your gem actually requires a version of libxml that is newer than your system version. How have you installed libxml2? If you have homebrew installed, you might want to try upgrading it with
brew update
brew upgrade
I was able to install Nokogiri 1.6.0 with Ruby 2.0.0p247 on OS X 10.9, and then require it in IRb. I double checked with Homebrew, and it is actually keg-only. However, Nokogiri seems to install its own version into gems/nokogiri-1.6.0/ports. On my machine, it is under x86_64-apple-darwin13.0.0.