I’ve just moved my rails app to a freshly-configured Debian Etch box,
running rails 1.2.6, and I’ve run into a quandary.
It seems that nothing I do (setting it in the environment.rb file, in
the mongrel_cluster.yml file, erasing all development and test data,
restarting Apache and the mongrels) is making it clear to Debian that I
want my app run in production mode.
The thing is just hell-bent on development mode and for the life of me I
can’t figure out how to change its mind.
I developed the app on Rails 1.2.3 and am trying to run it on 1.2.6.
I am getting routing and database connection errors mostly.
The app is trying to connect using “root” without a password even though
NEITHER my development nor my production environments use root and BOTH
use passwords. Strange.
I double-checked my routes file, and everything, despite the routing
errors, is up-to-speed and it all runs great locally in the production
Anybody know what I’m doing wrong here?