The Website of Jordan Hay
Source code is under the MIT License, website content is copyright of Jordan Hay.
Jekyll and Github Pages rely upon an old version of Ruby (~2.7.x) to run. This has caused me numerous installation issues over the past few years. The following installation process was found by trial and error and should work for most Linux distributions.
First, install a Ruby environment manager such as rbenv1. On a Linux
distribution that uses aptitude (Debian, Ubuntu, Mint, etc) this can be done
with
sudo apt install rbenvSecond, use the environment manager to install and active a version of Ruby
circa 2.7.x. Using rbenv to install and activate Ruby 2.7.0 this looks like
rbenv install 2.7.0
rbenv local 2.7.0
ruby --version If the install has worked correctly, the last command will have an output similar to
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
Finally, install jekyll, bundler, and the dependencies from Gemfile:
gem install jekyll
gem install bundler -v 2.4.22
bundle installI found that an older version of bundler was required to support Ruby 2.7.0. Your mileage may vary.
To build and host the website locally use
bundle exec jekyll serveThe website shall be made available on localhost:4321 if all succeeds.