I am installing gitlabhq, and in the Gemfile there are references to 'git://...' for certain resources.
However, I am behind a corporate firewall, so I have to use http://.
I can hand-edit the Gemfile, but I was wondering if there was another way to tell bundler to use http:// for git repositories?
You can configure git to use https://
by running running git config --global url."https://".insteadOf git://
or by adding the following to ~/.gitconfig
:
[url "https://"]
insteadOf = git://
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