You can change this globally. Search for "insteadOf" in the readme. Trying
both for every clone might be kind of slow.

On Sep 30, 2015 9:06 AM, "Matthew Pearce" <[email protected]> wrote:
>
> Hi
>
> I'm just getting into Julia. It seems that, out of the box, Pkg is
dependent on being able to call 'git clone git://blah' type addresses.
> For some reason my network doesn't support that.
>
> INFO: Cloning cache of ArrayViews from git://
github.com/JuliaLang/ArrayViews.jl.git
> fatal: unable to connect to github.com:
> github.com[0: 192.30.252.130]: errno=No route to host
>
> While waiting for support I thought I would dig around. It seems I can
install packages by 'git clone https://blah' through Pkg.add("https://blah";).

> Of course if the package has dependencies it throws up errors for the
same reason.
>
> TL,DR; It would be nice if Pkg did a try except on the url prefix using
https://.
>
> Cheers
>
> Matthew Pearce

Reply via email to