Installing Ruby and Jekyll

Now, this is my first step in the Ruby world, so apologize if I am doing dumb things here.

On a Mac  Ruby was preinstalled, but on Linux 13.10 I needed to do this before installing Jekyll.

First step:

$ sudo apt-get install ruby1.9.1

this installs a few things around ruby, but you also need:

$ sudo apt-get install rubygems1.9.1

this installs the gem processor, and we should all be set, then:

$ sudo gem install jekyll

tries to fetch a few things and then builds everything for jekyll.

Last step is to go to the directory of your jekyll project

$ jekyll serve

This fires up jekyll in a webserver on http://localhost:4000

Done.

Enough for today, stay tuned.

Cheers, Tobias.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s