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
First gem uninstall nokogiri
Second install nokogiri
third restart terminal
be happy
If you have Homebrew installed, try this. It solves the issue with the "Parsing documentation for nokogiri-1.6.1" hang. This worked for me.
gem uninstall nokogiri libxml-ruby
It'll ask you a series of questions based on how much of it you want to uninstall, answer "yes" or "[y]" to all.
brew update
brew uninstall libxml2
brew install libxml2 --with-xml2-config
brew link --force libxml2
brew install libxslt
brew link --force libxslt
gem install nokogiri --no-rdoc --no-ri
Then, in your project file:
bundle install