{"action":"created","issue":{"url":"https://api.github.com/repos/torch/rocks/issues/38","labels_url":"https://api.github.com/repos/torch/rocks/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/torch/rocks/issues/38/comments","events_url":"https://api.github.com/repos/torch/rocks/issues/38/events","html_url":"https://github.com/torch/rocks/issues/38","id":35145203,"number":38,"title":"\"luarocks install sundown\" doesn't work","user":{"login":"yashoteja","id":2986392,"avatar_url":"https://avatars.githubusercontent.com/u/2986392?v=3","gravatar_id":"","url":"https://api.github.com/users/yashoteja","html_url":"https://github.com/yashoteja","followers_url":"https://api.github.com/users/yashoteja/followers","following_url":"https://api.github.com/users/yashoteja/following{/other_user}","gists_url":"https://api.github.com/users/yashoteja/gists{/gist_id}","starred_url":"https://api.github.com/users/yashoteja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yashoteja/subscriptions","organizations_url":"https://api.github.com/users/yashoteja/orgs","repos_url":"https://api.github.com/users/yashoteja/repos","events_url":"https://api.github.com/users/yashoteja/events{/privacy}","received_events_url":"https://api.github.com/users/yashoteja/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-06-06T13:27:02Z","updated_at":"2015-05-03T21:16:52Z","closed_at":"2014-11-29T17:16:47Z","body":"Hi,\r\nApologies in case this is not the right place for this question.\r\nI am trying to install sundown using luarocks by using:\r\n\r\n\r\n> /usr/local/bin/luarocks install sundown\r\n\r\n\r\nwhile logged in as root.\r\nThis fails with following message:\r\n\r\n\r\n>Installing https://raw.github.com/torch/rocks/master/sundown-scm-1.rockspec...\r\nUsing https://raw.github.com/torch/rocks/master/sundown-scm-1.rockspec... switching to 'build' mode\r\nCloning into 'sundown-ffi'...\r\nfatal: unable to connect to github.com:\r\ngithub.com[0: 192.30.252.130]: errno=Connection refused\r\nError: Failed cloning git repository.\r\n\r\n\r\n\r\n\r\nI 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://\r\n\r\nBecause of this issue, the 2-line torch installation command from \"http://torch.ch/\" does not work for me, since it uses luarocks.\r\nCan someone please tell me how to overcome this issue?\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/torch/rocks/issues/comments/98545049","html_url":"https://github.com/torch/rocks/issues/38#issuecomment-98545049","issue_url":"https://api.github.com/repos/torch/rocks/issues/38","id":98545049,"user":{"login":"sonamsingh19","id":1800390,"avatar_url":"https://avatars.githubusercontent.com/u/1800390?v=3","gravatar_id":"","url":"https://api.github.com/users/sonamsingh19","html_url":"https://github.com/sonamsingh19","followers_url":"https://api.github.com/users/sonamsingh19/followers","following_url":"https://api.github.com/users/sonamsingh19/following{/other_user}","gists_url":"https://api.github.com/users/sonamsingh19/gists{/gist_id}","starred_url":"https://api.github.com/users/sonamsingh19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonamsingh19/subscriptions","organizations_url":"https://api.github.com/users/sonamsingh19/orgs","repos_url":"https://api.github.com/users/sonamsingh19/repos","events_url":"https://api.github.com/users/sonamsingh19/events{/privacy}","received_events_url":"https://api.github.com/users/sonamsingh19/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T21:16:52Z","updated_at":"2015-05-03T21:16:52Z","body":"Same issue. I was using a server over ssh(torch on server). luarocks couldn't install anything due to same error.\r\n\r\nFinal solution which worked for me was to use this in terminal :\r\n git config --global url.https://github.com/.insteadOf git://github.com/"}}