Hi. I have kept my rails installation up to date. Now I have
2.0.2.9216 installed, including a fewl older ones, back to the
original 2.0.2 release, However, I keep on getting weird problems
with newly created projects on line #44 of config/environment.rb:
config.time_zone = ‘UTC’
So I did a “sudo gem cleanup” so that only 2.0.2-9216 remains, and
created a new project, and now I have a different problem:
% rails --version
Rails 2.0.2
% rails test
… output omitted …
% cd test
% script/server
Missing the Rails 2.0.2 gem. Please gem install -v=2.0.2 rails
,
update your RAILS_GEM_VERSION setting in config/environment.rb for the
Rails version you do have installed, or comment out RAILS_GEM_VERSION
to use the latest version installed.
If I modify RAILS_GEM_VERSION to “2.0.2.9216”, mongrel now starts up
properly.
It seems to me that rails behaves badly when both 2.0.2 and 2.0.2.xxxx
are both installed, possibly because /lib/rails/
version.rb isn’t keeping track of the .xxxx after 2.0.2?
Incidentally, having the .xxxx after 2.0.2 also breaks 1.0 of Aptana’s
RadRails plugin.