Checking and Updating Jekyll
This quick post gives info on checking and updating Jekyll to the latest version.
First things first, I needed to update my virtual machine’s OS. It is running CentOS 6.
For CentOS 6 updates
sudo yum update
(updates packages and keeps obsolete packages, upgrade will remove obsolete packages)
Then reboot and make a snapshot or backup of the system.
Afterwards, check the version of Jekyll or just look at the installed Gems and their version.
jekyll --version
Use the following to see what gems are installed, the current installed version and the latest version available.
gem obsolete
It is always a good idea to make a backup of your system and files before doing upgrades just in case.
Then, to update all the gem packages use:
sudo gem update
For more info on using gem and its subcommands:
gem help commands
You can also get a list of all the gems install on your system:
gem list