~/

Welcome to Jekyll!

Yeay, welcome to Jekyll!!.

This is what I did today to serve you this blog.

Installing RVM

In my machine, Ubuntu 14.04, the latest ruby I found is ruby1.9.1. You need ruby2.0 or later to install jekyll. So I decided to install rvm. Keep away from sudo. Yeay.

    $ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
    $ \curl -sSL https://get.rvm.io | bash -s stable

You need to run this to execute gvm from anywhere

    $ source /home/yourhome/.rvm/scripts/rvm

Installing Ruby

Install all requirements to install ruby

    $ rvm requirements

Show all available ruby package

    $ rvm list known

I choose ruby2.2, so just run

    $ rvm install 2.2

Installing Jekyll

    $ gem install jekyll

If you want to linked up to your github page, create a repository, clone it, and change directory to your cloned repository.

    $ git clone [email protected]:yourusername/yourrepo.git
    $ cd yourrepo

Create a new jekyll site. Use --force in case your directory is not empty.

    $ jekyll new . --force
    $ jekyll serve

That’s it. Move to your browser and open localhost:4000. Happy Blogging!