I dont use git, but after upgrading to ruby 1.9.3 and rails 3.017 and using cap to deploy, I get these errors all over the place:
fatal: Not a git repository (or any of the parent directories): .git
They don't seem to break anything, but they are annoying. I dont use git, how do I make these go away?
More information (here is what I see)
$ cap pirmtlddemo deploy:long
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
* executing `pirmtlddemo'
* executing `deploy:long'
** transaction: start
* executing `deploy:update_code'
Note, I had similar warnings when trying to run localy (rails s) that I got rid of by doing a "git init"
thanks Joel
Ok, I figured this out, it looks like several gems including clearance, gvis, jquery-rails, vestal_versions have included in their gemspec's a dependency on git, see https://github.com/thoughtbot/clearance/blob/master/clearance.gemspec#L17. I am not sure why they do this, seems like an unnecessary dependency...
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