Ruby and Jekyll Installation Step-by-step
Step 1
To install Jekyll, we first have to install the RubyInstaller:
https://jekyllrb.com/docs/installation/windows/
Step 2
Then, click the link in the first step to download the package (RubyInstaller Downloads)
Step 3
Choose one of the first two links, depending on your computer’s Windows system type (32-bit or 64-bit). If your system is 64-bit, then choose the first link. If your system is 32-bit, then choose the second link.
Step 4
Click the icon below in the ‘Downloads’ folder to start installation process:
Step 5
Accept the license and click ‘next’:
Step 6
Choose the following set-up options and install:
Step 7
Choose the following set-up options:
Step 8
Wait for the loading to finish:
Step 9
Afterwards, choose the following set-up option and click ‘finish’ to continue:
Step 10
The command prompt would then appear. (If you had not chosen the ‘run ridk install’ option in the previous step, you can manually input ‘ridk install’ as a command in the command prompt.)
Step 11
Press ‘Enter’ and wait for all the packages to be installed:
If any error occurs as shown below, then go to Step 12. If not, skip to Step 13.
Step 12
Depending on your anti-virus software, the following steps may differ. For this tutorial, we’ll use Kasperskey Internet Security as an example:
-
-
Go to the ‘Threats and Exclusions’ option in the software.
- Choose the ‘manage exclusions’ option and add the following path to the list:
- Then, choose the ‘specify trusteed applications’ option and add the following path to the file in the list:
Step 13
If there was an error previously, we need to perform the ‘ridk install’ command again on the command prompt. Press ‘Enter’ to start the installation.
If not, just continue waiting on the installation process. Make sure that the ‘succeeded’ notice appears, as shown below:
Step 14
After the installation is done, we have to install Jekyll and Bundler using the command:
gem install jekyll bundler
Step 15
Then, we run the following command:
gem update
And there you go, Ruby and Jekyll has been installed on your PC! :]