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

General Discussion

Problem Installing Ruby

I am trying to install Ruby but am having the following problem:

After I install the latest version using Ruby Build, which I set to rbenv global, the Ruby version does not appear to change even though when I check using the rbenv global command it returns the latest version (see below) -

glens-mbp:~ glenegbert$ ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13] glens-mbp:~ glenegbert$ rbenv global 2.1.2

This causes a problem because when I attempt to install gems, I get a permissions error when the gems are trying to be installed in the folders of the native version of Ruby.

OSX version 10.9.2

Any suggestions?

1 Answer

What ruby installer did you use? because of the mac updates on my computer there isnt a (updated ruby )version to use alongside treehouses ruby course. so i put off learning ruby for another time.