Question

How to install Ruby on rails?

  • Posted on January 26, 2013
  • b2100515Asked by b2100515

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

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

That’s very odd I setup a new CentOS install followed the instructions up to that point and didn’t run into any issues. <br> <br>Can you open up your console (Virtual Server -> Access -> Console) and login as your root user. Then open up a ticket with us so we can console in and take a look at the system as we’ll have to troubleshoot it locally because I can’t duplicate your error. <br> <br>Thanks

Thanks for the reply for @joshfng but still it’s not working for me… <br>Same error :- curl: (7) couldn’t connect to host <br> <br>@raiyu Can you explain more? <br> <br>Thanks a lot for the reply =]

Rails ready is a great alternative to get up and running and it seems there’s an issue with the original URL in the our article. <br> <br>We’ve had a number of customers complain but you can pull the URL via Curl locally and then just copy and paste it into a bash script and execute it. <br> <br>Or as Josh suggested check out railsready that does all of the heavy lifting for you.