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

Ruby

Trying to download Ruby for mac

Im trying to download Ruby for mac, and I reach the point of $ rvm install 2.0.0 in the terminal and i get a error saying "Requirements installation failed with status: 1." This is really confusing process and often find myself crossing my finger hoping for things to work. Not sure if this is clear enough, but does anyone know what the problem is?

4 Answers

Try using this command sudo \curl -L https://get.rvm.io | bash -s stable --ruby

this is the error i get when i tried that... "Error running 'requirements_osx_brew_update_system ruby-2.0.0-p247',"

Looks like you are missing some dependencies. Try installing them.

brew install autoconf
brew install automake
brew install libtool
brew install apple-gcc42
brew install libyaml
brew install libxslt
brew install libksba
brew install openssl

im still getting the error message could it be because of my xcode ..."Warning: Your Xcode (3.2.6) is outdated Please install Xcode 5.0." ?

yep it works now, i just had to update my xcode. Thank you guys for the help!

Trent Burkenpas, give this a try rvm install ruby-2.0.0-p0. Keep in mind that if you're following along with a project, you'll want to make sure you have the same version of Ruby that the teacher uses. So instead it may look something like rvm install ruby-2.0.0-p247. The numbers after the p specify which patch of a version you'd like to use. It's kind of like a "sub-version." Hope this helps!

yeah so i tried that too, its not working. I must of made a mistake earlier in the process

ok so should i try rvm install ruby-1.9.3-p0?

Hey Trent,

I understand the frustration. Try following the instructions on the link provided.

http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/