I created a task that uses sed to search and replace that line as a
quick solution to your problem.  I'm open to a better one though.

On Jan 10, 5:31 pm, Stuart  Grimshaw <[EMAIL PROTECTED]>
wrote:
> I've read a few of the posts on this list that indicate the way to
> deploy to a production environment:
>
> set :rails_env, :production
>
> but when I set that in my deploy.rb and then run
>
> cap deploy:migrate it's still trying to apply the migration to the
> development database which obviously doesn't exist.
>
> It's probably something to do with the fact that # ENV['RAILS_ENV'] ||
> = 'production' is still commented out in the environment file, is
> there a standard, or recommended way to uncomment if?
>
> Anyone got any ideas?
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to