Defining your SSG version

It’s good practice to specify which version of your static site generator you use to avoid errors and unexpected behavior. CloudCannon offers different methods to manage this based on which generator you use.

CloudCannon supports Jekyll versions after 2.4.0. New sites without the version set use a default version. The version is displayed in the Status section after each build.

Note

Set the version to avoid future breaking changes and version clashes across environments.

To set the version:

  1. Add a Gemfile to the root folder
  2. Add the jekyll dependency to your Gemfile
  3. Set the version as required
Gemfile
source "https://rubygems.org"
gem "jekyll", "~> 4.1.1"
Was this article helpful? or Suggest an improvement >