user1184100
user1184100

Reputation: 6894

Not able to install rvm on ubuntu 12.04

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?

Upvotes: 0

Views: 633

Answers (1)

Alcides Queiroz
Alcides Queiroz

Reputation: 9576

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

Upvotes: 2

Related Questions