How do I use a custom Gemfile with Jekyll?

By default, CloudCannon uses /Gemfile as the gem source. To change this you can set the BUNDLE_GEMFILE environment variable (e.g. BUNDLE_GEMFILE=src/Gemfile).

Important

Setting the BUNDLE_GEMFILE environment variable requires that your gems are specified in the _config.yml file.

Was this article helpful? or Suggest an improvement >