[Radiant] Radiant in Rails Production mode
Oliver Baltzer
oliver at nitro.glycer.in
Sun Oct 1 10:02:24 CDT 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.radiantcms.org/pipermail/radiant/attachments/20061001/c462004a/attachment.bin
More information about the Radiant
mailing list