7 guests
online

elmasse

Jekyll not working on OS X 10.9 Mavericks

Blog
Posts
Written by elmasse
Jul 02 2013

If you have installed the beta version of OS X Mavericks (10.9) and you try to run jekyll server command you will probably ending up having this error message:

$ jekyll server
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem jekyll (>= 0) (Gem::LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem'
from /usr/bin/jekyll:22

What's going on?

OS X 10.9 ships with Ruby 2.0 so, this is the list sort of step by step I did to get Jekyll back on track on my Mac:

Update gem

Run the following command:

$ sudo gem update --system

Download and install Xcode 5 and then open it!

Once you get XCode5 installed do not forget to open it so the command tools get installed.

Reinstall Jekyll, Pygmentize, Redcarpet, etc

Once I have everything updated I had to reinstall Jekyll and all the dependencies I have been using on my development site such as pigmentize, redcarpet, rdiscount, etc.

$ sudo gem install jekyll
$ sudo gem install redcarpet

Comments

I have searched a couple sites regarding this problem and it seems that there are other solutions such as stated in Tip: Ruby on OS X Mavericks which unfortunately didn't work for me.

Hope this helps if you run into the same problem.

elmasse

7 guests
online
*/ ?>