This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Description
When running Bundler from a git checkout, as described in SETUP.md, all commands print a git error.
Here's an example:
$ dbundle -v
fatal: Not a git repository (or any of the parent directories): .git
2.0.0.dev
The git error is coming from the gemspec, where we shell out to git:
https://github.com/bundler/bundler/blob/master/bundler.gemspec#L46
Git assumes that commands should run in the current directory, and so the gemspec's git command is running in the wrong place. To fix this, we should use the git option -C to pass the directory containing the gemspec file to the git command.