Installing jekyll on Fedora 26

Installing the static site generator jekyll on Fedora should be a simple matter, but as usual, there’s always a few things that are needed.

Install ruby, ruby-devel, rubygems $ sudo dnf install ruby ruby-devel

Building native extensions.  This could take a while...
ERROR:  Error installing jekyll
        ERROR: Failed to build gem native extension.
<...>
/usr/share/ruby/mkmf.rb:457: in 'try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.

Let’s get the development tools:

$ sudo dnf install redhat-rpm-config

$ gem install jekyll <...>
19 gems installed

All seems to be installed, but…

$ jekyll --version
".../core_ext/kernel_require.rb:55: in 'require': cannot load such file -- json (LoadError)

We need an extra gem! Why it didn’t install it by itself is a mystery:

$ gem install json

$ jekyll --version
jekyll 3.5.2
VNC over reverse SSH

Playing with network tunnels is fun, and almost magical. SSH is such a toolbox of neat surprises that keeps on...

Previous
Installing MCUxpresso IDE on Fedora

MCUxpresso IDE comes with its installer for Ubuntu (14,16) in .deb.bin format, a self-extracting command-line installer. In order to install...

Next