Installing Jekyll on OSX Mavericks

Came across a bizarre error which I thought I’d share the fix for in case anyone else comes across it: whilst trying to do a bundle install as per the gitHub pages guide, I hit this when trying to do:

tom$ bundle install

An error occurred while installing nokogiri (, and Bundler cannot continue. Make sure that `gem install nokogiri -v ‘’` succeeds before bundling.

Turns out you need xcode command line packages updated: check you’ve got xcode:

tom$ xcode-select –version

xcode-select version 2333.

tom$ xcode-select –install

xcode-select: note: install requested for command line developer tools

After which all plays nicely.