Skip to content

Instantly share code, notes, and snippets.

@rajibdpi
Forked from yancyn/jekyll-ubuntu.md
Created January 13, 2018 08:55
Show Gist options
  • Save rajibdpi/5e0c461a5df9265a87ed612aa0bbe68a to your computer and use it in GitHub Desktop.
Save rajibdpi/5e0c461a5df9265a87ed612aa0bbe68a to your computer and use it in GitHub Desktop.
Setup Jekyll on Ubuntu 16.04

Ubuntu 16.04

$ sudo apt-get update
$ sudo apt-get install ruby ruby-dev make gcc
$ sudo gem install jekyll bundler

see source

Ubuntu 14.04

$ sudo apt-get update
$ sudo apt-get install ruby2.0 ruby2.0-dev
$ sudo gem install bundler
$ sudo gem2.0 install jekyll bundler

see source

How to Start Jekyll

$ jekyll new myblog
$ cd myblog
$ bundle exec jekyll serve
# or simply $ jekyll serve
# with reload and refresh every file changes $ jekyll serve -w
# => Now browse to http://localhost:4000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment