Building a new Rails app and getting a problem with nokogiri. Said to try gem install nokogiri -v \'1.6.8.1\'
which fails with output below. I tried deleting Gemfil
You can also encounter the same error message if you've downloaded XCode Tools but haven't yet agreed to the license.
From Terminal, run:
sudo xcodebuild -license
Enter your admin password, space through the agreement and type agree
to accept. Run brew doctor
and if necessary, brew update
and you should be in good shape.