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 rake
s?
I know about RVM. Is that the best way to use different versions of Rails on different projects?