Install:
bundle install --path vendor/bundle
Run Jekyll with Bundler:
bundle exec jekyll serve
Preview the site with drafts:
bundle exec jekyll serve --drafts
Update:
bundle update github-pages
For the last update I had to use a different ruby version than the one installed with macOS:
brew install ruby@2.7
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin20]
jekyll 3.9.0
This matches jekyll version from https://pages.github.com/versions/