by Flo Preynat

I have been wanting to give Jekyll a go for ages, and when I saw Seth’s post last night (although I’m not on Mavericks yet), I decided that a new install attempt of the static website generator would be on my morning’s todo list, having tried on many occasions to install the fu**er, unsuccessfully.

Right, so you have it all installed. So you think. As advised on the jekyll site, you’ve done your:

sudo gem update --system

Xcode and its command line tools are in there, but you still get an error while running:

sudo gem install jekyll

something like:

Building native extensions.  This could take a while...
ERROR:  Error installing jekyll:
        ERROR: Failed to build gem native extension.

It appears that the installation order is vital, and therefore you should try to uninstall ruby, start from a clean situation, and reinstall it.

It did fix it for me, so have a try if you’re stuck and you’re a numpty like me when it comes down to gems, CLI, and the rest.

Start with:

rvm get head
rvm reset

Then check what’s in there with:

rvm list

Note what ruby version is installed, in my case it was ruby-2.0.0-p247.

rvm remove ruby-2.0.0-p247
rvm cleanup
rvm repair

Only then go with:

sudo gem update --system
sudo gem install jekyll

Hope this helps.
Cheerio.

My name is Flo Preynat and I am the freelance webdesigner and developer behind shoogle designs. I live in France and specialize in responsive web design. Give me a shoogle or get in touch with me on twitter.

Follow @shoogledesigns

Most Recent Posts

Special Recent Posts

Sip: a color picker refreshingly simple indeed

Sip: a color picker refreshingly simple indeed

July 10th, 2014

I've just discovered Sip, a color picker app for Mac users. "Just discovered" since it's been around[...]

Perch – the CMS that does not pollute your web design workflow

Perch - the CMS that does not pollute your web design workflow

July 7th, 2014

I have recently finished a project based on Perch, the clever 'little' CMS created by edgeofmyseat.c[...]

Responsive video code snippet

Responsive video code snippet

June 29th, 2014

More of a reminder than a pure detailed blogpost, this code snippet will be my go-to resource when I[...]

Project Naphta: a nifty extension to play with text embedded in images

Project Naphta: a nifty extension to play with text embedded in images

June 9th, 2014

We've all been there. You want to select a good chunk of text on a website, only to realise you can'[...]

Free photos for your web design projects

Free photos for your web design projects

June 4th, 2014

Nothing beats using a real professional photographer when working on a cool project. You can be the[...]

Comments

  1. Jeff says:

    Thanks! This did it! :)

  2. Simeon says:

    This is the only solution that worked for me, thanks!

  3. reg says:

    You are a legend mate