fuddlepixelFuddlepixel coz tech is fun();

Installing Jekyll on Windows

Learn to setup Ruby environment and then Jekyll on your local Windows system.

By Shubham Ramdeo
20 July 2018 · 2 mins read
# jekyll  ruby 

Installing Jekyll on Windows

In the last article, we have discussed different types of sites, static sites in particular, which Jekyll is meant for. You can read that here.

Now in this article, we will learn to setup Jekyll on a Windows system. And there is a very easy and to the point way for that!

Setting up the Ruby Environment

Jekyll basically requires the Ruby environment, so first, we will setup Ruby on Windows.

Download ruby installer from rubyinstaller.org/downloads/, be sure to download the one with Devkit. The devkit includes the required development tools that will help to build the downloaded stuff.

Download Ruby
Download Ruby

The installation process is simple, start the installer, accept the license, select directories and install!

Ruby Installer
Ruby Installer

Be sure to select this: (if it asks so)

MSYS2 option
MSYS2 option

It will take some time to copy files, in the end, select the install this also to install the MSYS2 development tools.

Starting MSYS2 Installation
Starting MSYS2 Installation
If it doesn’t start, you can do the manual stuff, go to the directory where you installed ruby, like c:/ruby/ then open the msys folder, named something like msys2, and run msys2_shell. This will start a command prompt. Enter command ridk install to initiate msys setup.

 

MSYS2 Installer
MSYS2 Installer
It will ask for three options, you can perform this sequence, enter 1, press enter key, it will do some installation process, the same with 3, and then 2. So 1, 3 and 2 sequence.
You will find most of the components are already installed. It's just to ensure they are installed properly.

After doing these three options, press enter, it will automatically get closed. Congrats! You have your ruby environment installed on your windows system.

Installing Jekyll

Ruby Prompt
Ruby Prompt

Now let’s install Jekyll. From the start menu, you can find this, Start command prompt with ruby. Run it, and enter this:

gem install jekyll

This will start downloading and installing Jekyll.

Once installed, test if everything is working fine, by entering jekyll --version.

you may also install the other plugins, with this command.

gem install jekyll-feed jekyll-sitemap jekyll-pagination jekyll-seo-tag 

This will install four popular plugins for Jekyll that are directly used at Github Pages too. (you can create a free website there. We will also learn that with Jekyll).

We have installed ruby, Jekyll, and related plugins. If you are facing any issue, please comment it down below. I will be happy to answer.

In the next article, we will learn to use the Jekyll commands to create, deploy and serve our sites. Until then, keep learning programming from zero at fuddlepixel.com.


Share this :



Update me weekly ✉

Subscribe below and we’ll send you a weekly email summary of all new Code tutorials. Never miss out on learning about the next big thing.

I'm in ♥


Or follow us
   


About author

Shubham Ramdeo

Shubham Ramdeo

Shubham Ramdeo is the founder of Fuddlepixel. He is a geek, a writer, involved with many technical and humanity projects.

Meet me!



Recent





Related

jekyll 

ruby 

Top