I have installed Jerkyl in FreeBSD jail.

Bellow list of step:

  1. Install ruby and ruby gem pkg add ruby ruby27-gems
  2. Install sudo ( requred for pain less “bundle” run)
  3. install Jerkyll per jekyll-docs

  4. Install Minimal Mistake
    1. Add the following to your Gemfile: gem "minimal-mistakes-jekyll"
    2. Fetch and update bundled gems by running the following Bundler command: bundle
    3. Set the theme in your project’s Jekyll _config.yml file:
          theme: minimal-mistakes-jekyll
          minimal_mistakes_skin: dark

      comment out theme: minima

  5. install local web server for preview. pkg add thttpd
    1. add max_age=5 to /usr/local/etc/thttpd.conf
    2. add thttpd_enable="YES" to /etc/rc.conf and start server.
  6. run bundle exec jekyll build --watch -d /usr/local/www/thttpd/ in blog folder. Node: watch does not really works, it crashed every time it try to update site.

  7. edited Gemfile one more time
    1. Please add the following to your Gemfile to avoid polling for changes:
       require 'rbconfig'
       if RbConfig::CONFIG['target_os'] =~ /(?i-mx:bsd|dragonfly)/
         gem 'rb-kqueue', '>= 0.2'
    2. gem install rb-kqueue

After this website start getting some shape. I also add bit info to _config.yaml to personalise site