ensminger ensminger - 1 month ago 5x
Ruby Question

Jekyll is outputing Gemfile, Gemfile.lock on build. How can / should I prevent this?

jekyll build
is creating a Gemfile and Gemfile.lock in my

Two questions:

  1. Should I be concerned about including those files in production?

  2. If yes, how can I prevent them from being generated?

Open to any answer, including the yet-not-obvious-to-me.

Thank you!

Here is a screenshot of my environment. You can see that Gemfile and Gemfile.lock are created within

enter image description here


In _config.yml, add :

 - Gemfile
 - Gemfile.lock