Jekyll and Github Pages Deployment on Windows

Posted by Lance on November 12, 2018

1. Introduction

This is a simple tutorial for deploying Jekyll and Github Pages on Windows.

2. Jekyll on Windows

2.1 Ruby + Devkit installation

​ You need to go to official website: http://rubyinstaller.org/downloads/ to download x64 version installer (It depends on your system.)

2.2 Jekyll installation

  • check current gem source

    gem sources -l
    
  • remove official gem source

    gem source --remove https://rubygems.org/
    
  • add a new gem source

    gem source --add https://gems.ruby-china.com/
    
  • ensure official gem source not in the list

    gem sources -l
    
  • update gem

    gem update --system
    
  • install Jekyll

    gem install jekyll
    

2.3 Test Jekyll

2.4 Attention

3. Reference