Open sam-s opened 7 years ago
use proxy or open server , which allow you to access and down load the data from the portal
You have to change
rockspec.source.url
to
rockspec.source.url:gsub("^git://", "https://")
in git.lua
it works for me
if that does not work u can Force git to use https:// instead of git:// by typing the two following commands (without any change) :
git config --global url."https://github.com/".insteadOf git@github.com: git config --global url."https://".insteadOf git://
I thought I will just leave it here in case someone has a git that misbehaves like mine. I changed the global settings but still luarocks kept trying to use git:// so these are the steps I used to manually install the rock.
sudo luarocks make <name>.rockspec
This will help you skip the cloning step and you will be able to manually install the rock!
I get the following error:
This is because
https://raw.githubusercontent.com/torch/rocks/master/dpnn-scm-1.rockspec
specifiesinstead of
I know the
git://
url usually works, but, alas, some networks disallow it. Could you please usehttps://
instead ofgit://
? Thanks!