I love writing blogs with Jekyll. Before switching to Redhat Enterprise Linux, I used to use Fedora by Redhat.

To continue writing my blogs, I tried installing Jekyll but I encountered some problems which were not new for me as I have already encountered in Fedora.

Generally, for installing Jekyll we need to have Ruby installed in our system. It can be checked with

ruby -v

If it isn’t installed, the general command for installing Ruby is

# yum install ruby

After installing ruby, Jekyll can be installed with:

gem install jekyll

as Jekyll is a Ruby gem.

But,

you might encounter problem here like couldn't build native extensions, similar to this.

This can be solved by installing the ruby developer package.

If ruby is already installed, lets re install ruby devel packages, (if ruby is already installed, first uninstalling ruby : yum remove ruby)

But to install devel packages in RHEL, we need to enable the optional repos.

subscription-manager repos  --enable rhel-7-server-optional-rpms

Now, install Ruby Devel package by

yum install ruby-devel

And finally, march ahead to install Jekyll! :D

gem install jekyl

Oh yeah, installing bundle might be additional too.

gem install bundle

Enjoy Jekylling! :)






Posts you might like


Viewing the list of Java version installed and selecting the default one

Viewing the list of Java version installed and selecting the default one on Redhat Enterprise Linux | Redhat Enterpise Linux Blog , How to read more





Installing Java in RHEL 7

Java installation on Redhat Enterprise Linux | Redhat Enterpise Linux Blog , How to read more





Instaling Netbeans in Redhat Linux

Netbeans on Redhat Enterprise Linux | Redhat Enterpise Linux Blog , How to read more





Installing Open Broadcaster Software OBS in Redhat Enterprise Linux 7

OBS on Redhat Enterprise Linux | Redhat Enterpise Linux Blog , How to read more





Installing VLC media player in Redhat Enterprise Linux 7

Installing VLC media player in RHEL is so easy than you thought on Redhat Enterprise Linux | Redhat Enterpise Linux Blog , How to read more





Windows boot option missing after installing redhat in dualboot SOLVED

Windows boot option missing after installing redhat/ centos in dualboot on Redhat Enterprise Linux | Redhat Enterpise Linux Blog , How to read more





Sublime Text Editor in RHEL 7

Easiest way to install Sublime Text Editor on Redhat Enterprise Linux | Redhat Enterpise Linux Blog , How to read more





Mounting NTFS File System Drive in RHEL 7

A simple walk through on mounting NTFS drives in Redhat Enterprise Linux | Redhat Enterpise Linux Blog , How to read more