How to get back to development mode?

Hi ,

i run RAILS_ENV='production' rake db:migrate , script/server -e production, i can successfully run in production environment now. But when i wanna go back to development mode with rake db:migrate , script/server , something goes wrong. It seems, can't find the database?

Any one have met this problem ?

hi cat config/database.yml please

Ivan Nastyukhin dieinzige@me.com

Are you sure you have not changed something? Having run in production mode should make no difference.

What is the exact error you get on rake db:migrate?

Also show us config/database.yml please.

Colin