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


Aimee Knight
Aimee Knight
9,701 Points

Post for anyone wanting to play with multiple versions of Rails

This week, I decided I wanted to play around with Rails 3.2 and 4. I wrote the post below so I could look back and remember exactly what I did. Another treehouse student was also interested so I thought I'd post this in case there were even more people interested. If you have Rails 4, and want to use 3.2 (so you can do the Treehouse tutorials for instance) just install Rails 3.2 in the directory with your .rvmc file instead.

So, in my post instead of

 $ gem install rails


 $ gem install rails --version=3.2.13 


If anyone has questions, I'll try to help as best I can.

1 Answer

Good write-up. It seems your site has gone down though.

I also found this very helpful in learning to set up multiple Ruby versions/Rails versions on one machine. Same principal you are talking about, a separate Gemset for each project, ect.


I mainly did it out of necessity, since the Treebook project only has instructions on installing rails on Mac and Windows, and I was getting started with Ubuntu, I ended up installing Ruby 2.0.0 and Rails 4.0 and had to figure out how to install the earlier versions to do Treebook.

Aimee Knight
Aimee Knight
9,701 Points

Justen Allan

Yes, I think the security on my site might be a little too good! It should be back up. RVM can be a little intimidating for beginners so I thought I'd try to break down the instructions as much as possible.