`bundle install --deployment` wants to use git even when running after `bundle package --all` #2977

Closed
idyll opened this Issue Apr 8, 2014 · 1 comment

Comments

Projects
None yet
2 participants

idyll commented Apr 8, 2014

This is a regression from 1.5.3 where the behaviour is correct.

If you bundle package --all from a user with git in their path but then bundle install --deployment from a user without git you get the following error:

Bundler::Source::Git::GitNotInstalledError: You need to install git to be able to use gems from git repositories. For help installing git, please refer to GitHub's tutorial at https://help.github.com/articles/set-up-git

bundle install --deployment should need git if the bundle is packaged.

As noted, 1.5.3 works correctly, this is broken in 1.6.1.

Owner

TimMoore commented Apr 8, 2014

Fixed in #2973

TimMoore closed this Apr 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment