I recently switched over from macOS to Windows 10 and wanted to work on my GitHub Pages hosted blog again.

Here are the steps I took to get Jekyll running:

  1. Fresh install of Bash for Windows

  2. Make sure all installed apt packages are updated and upgrade:

     sudo apt-get update -y && sudo apt-get upgrade -y
    
  3. Install ruby with development headers, essential build packages, and development headers for zlib:

     sudo apt-get install ruby ruby-dev build-essential zlib1g-dev -y
    
    • Note: At the time of writing this, when updating the gems it had trouble finding headers for zlib. The zlib1g-dev package solved this issue.
  4. Update ruby gems:

     sudo gem update
    
  5. Install Jekyll and Bundler:

     sudo gem install jekyll bundler
    
  6. In the directory of a jekyll site:

     bundle install
    

Serve up the blog locally with bundle exec jekyll serve and you should be good to go!