rails_environment in migrating db