I have installed Rails 2.2.3 in Ubuntu 10.04 through the repository. After found that it is not the newest version, I decided to install it through RubyGems. So how do I specify which Rails version to use when I start a project?
+1
A:
After you have created your project, modify the following statement in config/environment.rb
RAILS_GEM_VERSION = '2.1.1' unless defined? RAILS_GEM_VERSION
Mick Sharpe
2010-07-23 09:04:27