Install Jekyll on OS X El Capitan

Takashi Yoshida bio photo By Takashi Yoshida

I recently performed a fresh installation of OS X El Capitan. I configure my Macs with Boxen (my own Boxen configuration is here).

Out of the box, I did not have a working Ruby environment for Jekyll, so I needed to set it up quickly.

Here’s the quick Jekyll setup for my own future reference (when OS X 10.12 is out).

cd Projects/takashiyoshida.github.io
rbenv local 2.2.3
gem install bundler
rbenv rehash
bundle install
rbenv rehash

Once done with the set up, you can run jekyll like this.

jekyll build
jekyll serve --drafts