Note: This is a personal note, and is not formatted for wider consumption.

Install system dependencies

sudo apt install -y ruby-dev bundler

Nuking and paving the bundle

  1. Delete Gemfile.lock
  2. Delete everything in vendor/bundle/ruby/
  3. Check your Gemfile is requesting the latest versions of the gems that it needs
  4. Go to the root of the site, and do bundle install
  5. Test with bundle exec jekyll serve
  6. Commit and push