Use Bundler to install project dependencies. Because we support Jekyll versions 3 and 4, we have separate Gemfiles for installing dependencies:
- Gemfile-jekyll3 for Jekyll 3
- Gemfile-jekyll3 for Jekyll 4
Install dependencies for the selected Gemfile:
BUNDLE_GEMFILE=Gemfile-jekyll4 bundle install
Use the Rakefile to run common tasks. To see the tasks available:
BUNDLE_GEMFILE=Gemfile-jekyll4 bundle exec rake -D
Run linter (Rubocop) and tests:
BUNDLE_GEMFILE=Gemfile-jekyll4 bundle exec rake