Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Vicky Dayaram
1,125 PointsIssues installing rvm to ultimately set up ruby
I was following along the video trying to get ruby set up on my computer. Once I get to the RVM part, I get an error message, code 7, that says can't connect to host. Tried to research the issue online but wasn't really able to find any solutions to this, I am trying to install it on my mac, just updated with snow leopard. Has anyone else had any issues ?
curl: (7) couldn't connect to host
That is the message I am getting,
bash < <( curl https://rvm.beginrescueend.com/install/rvm )
that is what I am putting into terminal after going through the other steps to get rvm set up.
Please advise, Thanks!
6 Answers
James Barnett
39,199 PointsThe URL you are using is dead. Try this one instead:
curl -L https://get.rvm.io | bash -s stable --ruby
Vicky Dayaram
1,125 PointsThanks James!
I am using the URL that you provided, that is the one that I used initially, but I kept getting an error message which is as follows
Error running 'requirements_osx_brew_libs_install libxml2 libxslt libksba openssl', please read /Users/pdayaram/.rvm/log/ruby-2.0.0-p195/1371915699_package_install_libxml2_libxslt_libksba_openssl.log
After receiving that a few times, I thought maybe I am using the wrong URL. As far as the video, after installing this, you should get a message with another URL to open up a bash file, and from there use the touch command after it is saved at some point. I never get that message to open up the bash file with that URL, advice ?
Vicky Dayaram
1,125 PointsSearching for binary rubies, this might take some time. No binary rubies available for: osx/10.6/i386/ruby-2.0.0-p195. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Installing requirements for osx, might require sudo password. Already up-to-date. Installing required packages: libxml2, libxslt, libksba, openssl.......... Error running 'requirements_osx_brew_libs_install libxml2 libxslt libksba openssl', please read /Users/pdayaram/.rvm/log/ruby-2.0.0-p195/1371916024_package_install_libxml2_libxslt_libksba_openssl.log
Thats actually the full message there
James Barnett
39,199 PointsHow about http://railsinstaller.org/
Vicky Dayaram
1,125 PointsI will try that, my brother actually suggested getting xcode, do you think that will work ?
Vicky Dayaram
1,125 PointsThanks for the help James,
Looks like xcode didn't work out, and the link you provided me looked like it was working, but I got an error message which is as follows,
Error running 'make -j2', please read /Users/pdayaram/.rvm/log/ruby-2.0.0-p195/1371934796_make.log There has been an error while running make. Halting the installation.
To proceed rvm requires a ruby-1.9|ruby-2 compatible ruby is installed. We attempted to install ruby automatically but it failed. Please install it manually (or a compatible alternative) to proceed.
I am actually running snow leopard on my computer, do you think that could be the issue, I am running 10.6.8.
Let me know if you have any other ideas, and thanks again for your help I really appreciate it.