Rails::VERSION::STRING shows 1.1.6, but 1.2.1 expected

Luca Scaljery wrote:

I've written an application using rails 1.1.8 or 1.1.6 (I'm not really sure) Anyway, I've updated rails to 1.2.1, like [code]gem update rails --include-depedencies[/code]


So far so good. However, when I put all my self-written stuff inside this new project, and I repeat the exercise I get the following version number: [b]1.1.6[/b]

gem update rails simply installs the most recent gems on your system. For your application to use those gems, you need to modify which version to load in config/environment.rb.