Report this

What is the reason for this report?

How to install Ruby on rails?

Posted on January 26, 2013

Hi, I check all articles about how to install ROR on ubuntu/CentOS but it will gives same error while installing. http://img541.imageshack.us/img541/1496/46e924fac34f47048143803.png [While installing RVM] Error - 2534 curl: (7) couldn’t connect to host

I followed this article https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-centos-6-with-rvm and i also tried on Ubuntu but i got same error. any solution? please help!

Thank you

  • Jack


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

curl is used to download files via HTTP much like wget and it means that a connection to the remote site is failing which is why it is unable to download. <br> <br>Saw this on another forum, give it a shot and see if it works for you: <br>“replace the “get.rvm.io” part with raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer -it’s the same script, just takes out some potential DNS problems on rvm’s end”

Hey raiyu Thanks for the reply! =] <br>I tried this on ubuntu and also on CentOS raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer instead of get.rvm.io but still same error =[
<br> <br>Can you explain more? <br>Will you try for me? <br> <br>Many thanks!!! <br> <br>~ Jack

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.