I’ve just deployed a second 2.1.0 app on to a long-running ubuntu
8.0.4 box. The first app, which lives in the same top level
directory, runs fine. The new app, however, mostly refuses to run
(mongrel will start, but I can’t migrate or start the console),
raising this error:
“Missing the Rails 2.1.0 gem. Please gem install -v=2.1.0 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 comment out the RAILS_GEM_VERSION, then it throws this instead:
“Missing the Rails gem. Please gem install -v= 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.”
The gem is definitely there, as the other app–which has a virtually
identical envrionment.rb (a few more requires)–runs fine.
Any suggestions?
Best,
Todd