tadzik / rakudobrew

Perl 6 installation manager
MIT License
185 stars 42 forks source link

Document how to allow the use of https:// rather than git:// URLS for cloning #104

Closed jonathanstowe closed 7 years ago

jonathanstowe commented 8 years ago

Some networks don't allow ssh to outside hosts and in those cases an https connection should be used, the symptom is a rather ugly error message:

loning into 'rakudo'...
fatal: unable to connect to github.com:
github.com[0: 192.30.253.112]: errno=Connection refused

Failed running git clone git://github.com/rakudo/rakudo.git rakudo at /home/jns/.rakudobrew/bin/rakudobrew line 58.
    main::run("git clone git://github.com/rakudo/rakudo.git rakudo") called at /home/jns/.rakudobrew/bin/rakudobrew line 409
    main::update_git_reference("rakudo") called at /home/jns/.rakudobrew/bin/rakudobrew line 372
    main::build_impl("moar", undef, "") called at /home/jns/.rakudobrew/bin/rakudobrew line 116

I'll take a look when I get home.

jonathanstowe commented 8 years ago

Okay I looked at the source and found how to do it.

So it just needs documenting somewhere really ;-)

tadzik commented 7 years ago

It's noted in the readme, in "specifying a git protocol" :) Not sure when it happened, but I think this is resolved now.