2

When I run bundle install, the URLs in Gemfile.lock that begin with remote: git://github.com change to remote: https://github.com. Because I'm working on a project with other people, I can't commit these changes. How do I force Bundler to use the git protocol?

Other people seem to have the opposite problem and want to use https instead of git. I tried using the following command, based on this answer, but to no avail:

git config --global url."git://github.com".insteadOf https://github.com

I'm using Bundler 1.7.0 and RVM.

Community
  • 1
  • 1
Patrick Brinich-Langlois
  • 1,381
  • 1
  • 15
  • 29

1 Answers1

3

Upgrading to Bundler 1.7.2 seems to solve the problem.

Patrick Brinich-Langlois
  • 1,381
  • 1
  • 15
  • 29