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 Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Mac

Mikeal Abramoff
Mikeal Abramoff
10,224 Points

Ruby download

I believe i downloaded the latest version of ruby and got the line: ==> Summary ???? /usr/local/Cellar/ruby/2.1.2: 929 files, 20M

Question: when I type in the command line. ruby -v I get ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0] Why is it still showing me the old version?

(Also when following along with the treehouse video, I just got the following lines) $rbenv install 2.0.0-p353 -bash: rbenv: command not found

I think I have I have already downloaded ruby via homebrew but it is not showing as the latest version. Any help or suggestions would be appreciated.

Thanks,

3 Answers

Hello. Try to install it via RVM https://rvm.io

David Curtis
David Curtis
11,301 Points

run the command: rvm install 2.0.0

Binary Soul
Binary Soul
4,592 Points

Just type in your console:

rbenv global 2.0.0-p353 

Then make sure to revisit this