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

Maxim Kontsevitch
25,447 PointsRails install and Uninstall
Hi, I'm having troubles with uninstalling rails 4.0.2. After I uninstall completely railties and rails. I type rails --version it shows me "Rails4.0.2" I've also installed an older version of rails. Can someone help me with this issue. (I'd like to see answers of installing older version of rails using rvm. )
3 Answers

Stone Preston
42,016 Pointstry passing in a version to uninstall rails 4.02 maybe?
gem uninstall rails -v 4.0.2

Maxim Kontsevitch
25,447 PointsNot working as well, the terminal output is still the same. Thank's anyway.

Jonathan Tame
14,524 PointsThis sounds like a pretty common problem folks have when they install multiple different versions of something. With Rails, specifically, you need to designate a gemset to accompany the version of Rails you want to run. Check out this article on StackOverflow for the details. http://stackoverflow.com/questions/18348373/how-to-use-rvm-and-different-versions-of-rails
Maxim Kontsevitch
25,447 PointsMaxim Kontsevitch
25,447 PointsTanks, but still "Rails 4.0.2"
Stone Preston
42,016 PointsStone Preston
42,016 Pointssince you have rvm maybe give
rvm remove rails-4.0.2