0

I'm trying to install ruby on rails on ubuntu 12.04 through rvm

I did apt-get update and installed curl. Then i entered below command in the terminal

curl -L get.rvm.io | bash -s stable 

But after few seconds i get an error "(7) couldn't connect to host". Any help in getting rvm installed?

gylaz
  • 13,221
  • 8
  • 52
  • 58
user1184100
  • 6,742
  • 29
  • 80
  • 121

1 Answers1

2

Maybe some HTTPS issue, try it: curl -kL https://get.rvm.io | bash -s stable

If the error persists:

1) Are you under a NAT?

2) Is there a firewall in your network, or maybe in this machine?

3) Is there some proxy configured in your browser? If so, then curl won't be able to connect with HTTP or HTTPS without passing through this proxy. Read this: Linux curl command with proxy

Community
  • 1
  • 1
Alcides Queiroz
  • 9,456
  • 3
  • 28
  • 43