Skip to content

Instantly share code, notes, and snippets.

@ryanlindsey
Last active August 29, 2015 14:04
Show Gist options
  • Save ryanlindsey/349f1951bbd95e6333ca to your computer and use it in GitHub Desktop.
Save ryanlindsey/349f1951bbd95e6333ca to your computer and use it in GitHub Desktop.
Installing Nokogiri 1.6.1+ on Mavericks

If you're running Xcode 5.1, the command line tools don't work for nokogiri 1.6.1. You'll need to download the Late october 2013 tools from Apple. Once you do that run

$ sudo xcode-select -s /Library/Developer/CommandLineTools/

to set up your machine to use the Xcode 5.0.X command line tools, then run

$ gem install nokogiri

If you want to reset your command line tools to the Xcode.app version afterward run

$ sudo xcode-select -r

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment