Skip to content

Instantly share code, notes, and snippets.

@agusmakmun
Last active April 19, 2016 06:12
Show Gist options
  • Save agusmakmun/4f65050dbe40a116187d31d8eba5876c to your computer and use it in GitHub Desktop.
Save agusmakmun/4f65050dbe40a116187d31d8eba5876c to your computer and use it in GitHub Desktop.
This because in Ubuntu 14.04 stopply to Ruby 1.9.*
$ wget http://ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.gz
$ tar -xzvf ruby-2.2.3.tar.gz
$ cd ruby-2.2.3/
$ ./configure
$ make
$ sudo make install
$ sudo ln -sf /usr/local/bin/ruby /usr/bin/ruby
$ ruby -v
$ sudo apt-get install nodejs

Github Pages

$ sudo gem install bundler
$ sudo gem install github-pages
$ sudo gem install public_suffix -v '1.5.3' <only if have a problem>
$ bundle install
$ bundle exec jekyll serve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment