bundle install leads to git clone error. Not sure what this response means
Getting a strange error on bundle install..
bundle install Fetching gem metadata from http://rubygems.org/..... Fetching gem metadata from http://rubygems.org/.. Fetching git://github.com/maccman/gdata.git fatal: The remote end hung up unexpectedly Git error: command `git clone 'git://github.com/maccman/gdata.git' "/Users/elephanttrip/.rvm/gems/ruby-1.9.2-p318@shasta/cache/bundler/git/gdata-811f852468ac76e0019108d8c5320da12b6683d4" --bare --no-hardlinks` in directory /Users/elephanttrip/Sites/shasta has failed.
This wasn’t happening until I installed the mysql2 gem and mysql with brew.
Any ideas what this error means?
Also none of the folders it is trying to clone this to exist. It’s probably something to do with my bundle paths and juggling .rvm
2 Solutions collect form web for “bundle install leads to git clone error. Not sure what this response means”
The problem is not on your end. Trying:
git clone 'git://github.com/maccman/gdata.git' "foobar" --bare --no-hardlinks
Fails on my machine with the same error.
Interestingly a non-bare clone seems to work as expected.
resolution: Clone from the https interface:
Add your SSH key to the github.
Or as @brice mentioned, you need to add your team to the repo.