Multiple Rails versions for multiple projects

Posted by mathee on Stack Overflow See other posts from Stack Overflow or by mathee
Published on 2010-04-20T04:28:01Z Indexed on 2010/04/20 4:33 UTC
Read the original article Hit count: 284

Filed under:
|

I'd like to use Rails 2.2.2 for one project and Rails 2.3.2 for another. Both are installed.

What is rails _2.2.2_ --version supposed to do? I've read that it makes 2.2.2 the working version -- that is, the version that will be used from that point on. But when I check rails --version, I get Rails 2.3.2. So, I also want to know what rails --version tells me; is it just the latest version of Rails that I have or is it the version that will be used for rakes?

I know about RVM. Is that the best way to use different versions of Rails on different projects?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about version