Rails 3, nginx and unicorn. Why is Rails looking for the development database if I'm in production? Rails 3, nginx and unicorn. Why is Rails looking for the development database if I'm in production? nginx nginx

Rails 3, nginx and unicorn. Why is Rails looking for the development database if I'm in production?


what about your gemfile?

You must specify which database you are using for development and which one for production:

# make sure you place your db gems in a group blockgroup :development do  gem 'sqlite3'endgroup :production do  gem 'mysql'end