Closed yashoteja closed 9 years ago
Read this relevant thread. This would be a luarocks issue, but seems to have a workaround. http://comments.gmane.org/gmane.comp.lang.lua.luarocks/5041
Done! Had to change
rockspec.source.url
to
rockspec.source.url:gsub("^git://", "https://")
in git.lua
Same issue. I was using a server over ssh(torch on server). luarocks couldn't install anything due to same error.
Final solution which worked for me was to use this in terminal : git config --global url.https://github.com/.insteadOf git://github.com/
Thanks @sonamsingh19 git config --global url.https://github.com/.insteadOf git://github.com/
solved the issue.
Thanks @sonamsingh19. Had the same issue, your solution solved it.
@sonamsingh19 worked for me as well!
Thanks all!
@sonamsingh19 solution worked for me on OSX 10.11.
Thanks @sonamsingh19.
thanks @sonamsingh19.
@sonamsingh19 yes this did solve the issue
@sonamsingh19 Thanks!!
Thanks!!
Same issue here, @sonamsingh19's solution worked, thanks!
Surprised this hasn't been fixed in three years. Is it that uncommon for a corporate firewall to block outgoing git://
requests? Had to export GIT_TRACE=1
during spack install lmod
to find out that it wasn't installing because of this clone attempt. Thanks @sonamsingh19 for the solution!
@sonamsingh19 solution worked for me on Centos 7 Thanks!!
@vervenumen solution worked for me on Ubuntu 16. Thanks
This is a viable workaround, but will luarocks ever be brought into the modern era?
Hi, Apologies in case this is not the right place for this question. I am trying to install sundown using luarocks by using:
while logged in as root. This fails with following message:
I suspect that this is because git:// port is blocked for me, and I use https:// port while git cloning. But I don't know how to force luarocks to use https:// port instead of git://
Because of this issue, the 2-line torch installation command from "http://torch.ch/" does not work for me, since it uses luarocks. Can someone please tell me how to overcome this issue?
Thanks!