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!

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 Building Web Apps with Sinatra Your First Sinatra App Your First App

Still on Ruby 2.0 even though I installed 2.2.2

How do I access Ruby 2.2.2 once it's installed?

It still says I'm using version 2.0.

1 Answer

Kian Chakamian
Kian Chakamian
15,410 Points

If you have rvm installed you can use:

 rvm use 2.2.2

in the terminal to switch between installed ruby versions.

If you are using rbenv it would be wise to create another Ruby shim by running this command .

$ rbenv install 2.2.2
rbenv global 2.2.2-p353   

you can read this documentation here