Hi,

as a relative newcomer to capistrano, this might be an obvious
question.

In my environment.rb the following is commented out, as normal:

# ENV['RAILS_ENV'] ||= 'production'

When the environment.rb is copied over to my production environment,
this doesn't change, and hence the production env is still running in
development mode.

So my question is, what is the most appropriate way to switch the
configuration from development to production after a cap deploy?

After some googling, one option I came across was to put the following
line in the deploy.rb:

set :rails_env, :production

However, this had no noticeable effect.

Thanks,

Steve


--~--~---------~--~----~------------~-------~--~----~
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