Skip to content

Instantly share code, notes, and snippets.

@zettoone
Created July 29, 2013 07:51
Show Gist options
  • Save zettoone/6102733 to your computer and use it in GitHub Desktop.
Save zettoone/6102733 to your computer and use it in GitHub Desktop.
Running Jekyll on Windows
# Install the Ruby from http://rubyinstaller.org/downloads/ and install it to path such as C:\ruby
# Install the Ruby development kit from here and extract it to path such as c:\devkit. Run the following commands to generate the config.yml file
ruby dk.rb init
# Edit the generated config.yml file to include installed Rubies. For example, in our case, it will look like this
# This configuration file contains the absolute path locations of all
# installed Rubies to be enhanced to work with the DevKit. This config
# file is generated by the 'ruby dk.rb init' step and may be modified
# before running the 'ruby dk.rb install' step. To include any installed
# Rubies that were not automagically discovered, simply add a line below
# the triple hyphens with the absolute path to the Ruby root directory.
#
# Example:
#
# ---
# - C:/ruby
# - C:/ruby192dev
#
---
# Run the following command to install to DevKit enhance your installed Rubies. This step installs (or updates) an operating_system.rb file into the relevant directory needed to implement a RubyGems
ruby dk.rb install
# Install Jekyll using following command
gem install jekyll
# install pygments, simply run this command:
pip install Pygments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment