-
Install Ruby 2.1.5 for Windows (x64) from RubyInstaller.org.
- Set
Install Tcl/Tk support. - Set
Add Ruby executables to your path - Set
Associate .rb and .rbw files with this Ruby installation. - Do NOT include whitespaces in the destination folder.
- Set
-
Run
ruby -vto verify command line access and version.
-
Run
gem install [anygem]to verify you can install gems. -
If SSL error, update Ruby certs per SSL upgrades on rubygems.org and RubyInstaller versions.
-
Follow the DevKit install instructions.
-
Download the Ruby 2.1 version of the DevKit from the RubyInstaller Downloads page.
-
Extract the files to a local folder without spaces. This should be the permanent location for the DevKit, not a temporary extraction folder.
-
Open a command prompt within the DevKit folder you created in the previous step.
-
Run
dk.rb initto generate a _config.yaml file we'll use in a bit. -
Run
dk.rb reviewto validate the _config.yaml file. -
If you get an error about an invalid _config.yaml, which you should if you're running the above version(s), make the changes described in this StackOverflow answer.
-
Run
dk.rb initanddk.rb reviewagain to verify. -
Verify your DevKit installation with
gem install json --platform=ruby. You should see "native extensions" messages and no errors.
- Run
gem install jekyll.
- Julian Thilo: Run Jekyll on Windows
- Madhur Ahuja: PortableJekyll