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 on Rails Development Environment in OS X

Loi Tran
Loi Tran
9,053 Points

Lois-MacBook-Pro:odot Lois$ ruby -v yields different results from Jason.

So basically I'm following his instructions up until 7:29. Everything is the same until I type in this command "ruby -v" http://imgur.com/PH3eV56

Why is my version different from him...? "ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]"

I know that my series is different than his because when I type in the command "rbenv install 2.2.1" I am asked if I want continue with installation? This is because I'm reinstalling this software because I kept getting a ton of errors, and I wanted to start fresh. Thats the only difference I see. I can't figure out why my version is different.. I know it may not make a difference, however because of issues I had later, I just wanted to follow the instructions by the letter.

Thanks in advance! Loi

Loi Tran
Loi Tran
9,053 Points

Yeah, evidently it matters. Just a moment later when I try to install the bundler gem I get this error http://imgur.com/tFNtBYY "ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory."

Loi Tran
Loi Tran
9,053 Points

Actually I figured out that last problem. I just issued it with the sudo command.