Latest version of Jekyll on Ubuntu

Written by
Date: 2015-01-11 10:25:20 00:00

How to install the latest version of Jekyll on Ubuntu

Ubuntu has Jekyll available on its repositories, but it is an older version, if you want to have the latest follow this easy steps.

Install dependencies

sudo apt-get install curl nodejs build-essentials git

Install RVM

With rvm you will have the latest version of ruby as well.

\curl -L | bash -s stable

Exit terminal and start a new session or run:

source ~/.rvm/scripts/rvm

Be sure to install all requirements

rvm requirements

Install Ruby

We will now install ruby and make that latest version the default, we also need rubygems.

rvm install ruby
rvm use ruby --default
rvm rubygems current

Install Jekyll

sudo gem install jekyll --no-rdoc --no-ri

You are now ready to blog with Jekyll