Does the bundle provider have http: instead of git :?

I install gitlabhq , and the Gemfile has links to 'git: // ...' for certain resources.

However, I am behind a corporate firewall, so I need to use http: //.

I can manually edit the Gemfile, but I was wondering if there is another way to tell the provider to use http: // for git repositories?

+5
source share
1 answer

You can configure git to use https://by running git config --global url."https://".insteadOf git://or adding the following to ~/.gitconfig:

[url "https://"]
   insteadOf = git://
+11
source

All Articles