We migrated our app from Rails 4 to Rails 5. We run it inside Docker. On our host system we of course have the git binaries, but not inside Docker. Running Puma inside Docker will give this error message, and I would like to get rid of it:
bin/rails: No such file or directory - git
Rspec will give this error message:
/usr/local/bundle/bin/rspec: No such file or directory - git
What gem has the dependency on git? Or is it one of the core Rails gems and should I just ignore the error message?
Bundler has an optional dependency on git.
As described here, you can import gems directly from a git repository.
Check your Gemfile to see if any of your dependencies are installing from git. If none are, one of the gems you're installing probably is.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With