Environment: Ubuntu 18.04 Desktop
Required: Root privilege
Official Documentation

1. Install Ruby

$ sudo apt-get install ruby ruby-gem build-essential

2. Install Jekyll and bundler

$ gem install jekyll bundler

3. Install gem files in Jekyll blog

Install plugins described in “Gemfile”.

$ cd <jekyll blog directory>
$ bundle install 

4. Run Jekyll

bundle exec jekyll serve