Builds / Jekyll
CloudCannon supports Ruby versions using rbenv. Sites without the version specified default to version
Versions installed are:
2.3.8(End of Life)
If you require a Ruby version not listed above, please contact support. We will do our best to accommodate your needs.
Setting your version
To set your version add a
.ruby-version file in the root folder. This file should contain one of versions specified above.
Here’s an example
Install rbenv on your local environment to ensure the same version is used. It is considered best practice to set your ruby version per project. This ensures that local builds and CloudCannon builds use the same version of Ruby.
The legacy site building system won’t use your Ruby version. Ensure you have the Enable Ruby versions and non-legacy building option enabled in Site Settings / Details. The legacy system is for sites created years ago and is being gradually phased out.