Installing Jekyll on Fedora (33) - With User Only Gems

sudo dnf install ruby ruby-devel rubygems-devel \
                 autoconf automake bison gcc-c++ libffi-devel libtool \
                 libyaml-devel readline-devel sqlite-devel zlib-devel \
                 openssl-devel redhat-rpm-config rubygem-nokogiri
gem install rubygems-update
gem install jekyll bundler
bundle install --path ~/.gem/ruby/gems/

Basically nicked from here but modified to not install gems as root (which I find unnecessary personally)

After which you should be able to run jekyll like this:

bundle exec jekyll build

But not like this:


This might be the way to do it properly. But my way works and I don't trust gems as root.