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

unable to install ruby of MAC

i am using mavericks, and unable to install ruby on my mac. So please guide me and the instructions on the video have gone old. Some one tell me what is the solution.

2 Answers

Hi!

Ruby should be pre-installed on Mac OS X.

Try to execute in your Terminal: ruby --version

I'm getting the following output on OS X 10.9.3: ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]

are you trying to install ruby or install rails? as mentioned above ruby should be pre installed. However when installing rails the old video mentions using rails installer which wont work on mavericks. You can use RVM to install rails or watch this newer video that explains how to setup a ruby on rails environment using rbenv

I like RVM so I would go that route. you can install RVM and rails with one command

$ \curl -sSL https://get.rvm.io | bash -s stable --rails

if you want a specific version of rails just append the version number

$ \curl -sSL https://get.rvm.io | bash -s stable --rails=3.2