I'm trying to install RVM on my environment following the instructions on RVM page
curl -L https://get.rvm.io | bash -s stable --ruby
but I always get this:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 198 0 --:--:-- --:--:-- --:--:-- 246
100 9979 100 9979 0 0 3821 0 0:00:02 0:00:02 --:--:-- 14740
Please read and follow further instructions.
Press ENTER to continue.
Downloading RVM from wayneeseguin branch stable
curl: (6) Could not resolve host: github.com; nodename nor servname provided, or not known
I've got the same error when trying to install gems before trying RVM. Some people say it's a network problem, but I can't figure out what it is. I'm new to ruby and trying to setup my environment to work with rails.
I've tried to ping github.com and most packets went fine with less than 10% loss.
So is this really a problem with my network? If so, how can I fix this?
I'm running Mac OS X 10.8.
Update:
Definitely, it's some problem in my network configuration on Mac OS X. I can't run commands on git or svn. I always get the 'could not resolve hostname' error. Need some investigation on that. Have someone ever had the same problem? So I could try to change something on my network configuration.
It looks like a DNS or proxy problem. From your comments, you are not using proxy. Change your DNS servers to Google DNS and try again.
That problem is not related to git or svn, so you won't find info about DNS on their sites. It's due to network config, network availability or internet provider (likely the former).
Try running as sudo; worked for me! I know its not ideal, but proves that it may be a permissions problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With