ensminger ensminger - 1 year ago 74
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

Answer Source

In _config.yml, add :

 - Gemfile
 - Gemfile.lock
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download