On 01-Oct-2006 03:03 -0400, John Tsombakos was heard to say:
> 
> SetEnv RAILS_ENV production
> 
> I tried that, but the app was still in development mode (I could tell
> because it was using the dev database)

Assuming you are using mod_fastcgi, try to set:

FastCgiConfig -initial-env RAILS_ENV=production

SetEnv happens on a per-request basis, but your Rails process starts in the
context of Apache not that of a request.

Cheers,
Oliver
-- 
Oliver Baltzer
.web   > http://nobits.org/oliver/
.pgp   > 0x32B54706

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to