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

Help? Ruby on rails beginner

Hi! i started the ruby on rails basic project and when it came to installing ruby it didn't work the first time so i did it another way because i have osx 10.9 and now when i try the rvm ruby 2.0.0 it looks like this

Bens-MacBook-Pro:~ benhamin$ ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
Bens-MacBook-Pro:~ benhamin$ rvm 2.0.0
ruby-2.0.0-p353 is not installed.
To install do: 'rvm install ruby-2.0.0-p353'
Bens-MacBook-Pro:~ benhamin$ rvm 2.0.0-p247
ruby-2.0.0-p247 is not installed.
To install do: 'rvm install ruby-2.0.0-p247'
Bens-MacBook-Pro:~ benhamin$ rvm install ruby-2.0.0-p247
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.9/x86_64/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Installing macports..........................................................................................................................................................................................................
Error running 'requirements_osx_port_install_port',
please read /Users/benhamin/.rvm/log/1385282745_ruby-2.0.0-p247/port_install.log
Requirements installation failed with status: 1.
Bens-MacBook-Pro:~ benhamin$

2 Answers

Check out these instructions on how to install Ruby on Rails under OS X 10.9

Thanks!! i looked at that :) but when i put git it said it was installed and when i said gcc it didn't work

> when i put git it said it was installed and when i said gcc it didn't work

We are going to need more information than that.

Try working through that article step-by-step. If you get stuck post here on the forum telling us which steps you completed successfully and which one you are stuck on.

You might find this advice on asking questions on forums helpful.