How to Install Jekyll on Fedora

The RVM installation process for Ruby and Jekyll on Fedora. Ruby Version Manager (RVM) is a command-line tool for setting up, managing, and using multiple ruby environments. A variety of Ruby installation issues can be resolved by using this method.
Installing Ruby using RVM
Install the GPG keys that will be needed to verify the installation package:
1 | gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB |
Install RVM stable with ruby in one command:
1 | \curl -sSL https://get.rvm.io | bash -s stable --ruby |
Setting up RVM with GNOME Terminal
The ‘Run command as a login shell’ checkbox must be selected for RVM to work properly. See: https://rvm.io/integration/gnome-terminal
This command adds source $HOME/.rvm/scripts/rvm
into .bash_profile, so we won’t have to manually type it in every session:
1 | echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile |
After that, restart gnome-terminal.
Installing Jekyll and Bundler
Jekyll is a free and open-source static site generator written in Ruby:
1 | rvm use default |
That’s it! We can now create and test a new Jekyll site locally.
How to Install Jekyll on Fedora