This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2k
bundle install --deployment got "Could not locate Gemfile" #5293
Comments
You still need to add your gemfile, bundler requires both the gemfile and the lockfile to work. |
@segiddins is there a way to reverse Gemfile.lock to Gemfile? |
Can I just use the gems under |
@agate there is not, as information in the gemfile such as groups, platforms, install conditionals are not stored in the lockfile |
Aha! That make sense. Thanks for the explanation. I don't have those special info in my original Gemfile. I can simply read the |
Cool! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I am trying to build a docker image. And my Dockerfile is like this.
I only add Gemfile.lock (without Gemfile). It's because there are some complicated requirements in the original Gemfile. So it can not work alone in docker.
So I have some questions:
--deployment
mode still need Gemfile ? If so, is that possible to generate a Gemfile based on Gemfile.lock?The text was updated successfully, but these errors were encountered: