I am actually reading a rails book that is written for rails 2.3.5. I
want to test Rails 3 beta as well. Is it possible to have such a setup
in my Mac OS leopard?
I have tried with gem list -d rails. There are many versions stored in
my mac but I don't know how to use different version of rails while
creating new applications with rails command.
Hi,
It is possible to have different rails application on single machine.
While creating rails application u just need to specify corrosponding
rails version.
$rails _version_number_ -d database_name application_name For ex.
$rails _2.3.5_ -d mysql temp
"gem install rails --prerelease" should install the current beta. You
also need to make sure that you have the latest version of RubyGems
with "gem update --system".
BTW. You can install any version of rails (and any version of any gem
for that matter) specifically, by adding the "-v <version number>" to
"gem install rails", e.g. "gem install rails -v 2.3.8"