[Backgroundrb-devel] How to know the environment (development/test/production) inside a worker
saratkongara at gmail.com
Thu May 29 06:05:23 EDT 2008
Hi Ryan,For some reason even when the I start backgroundrb like this $
script/server -e production start
The RAILS_ENV is set to development. Any suggestions on how to fix this
On 5/22/08, Ryan Leavengood <leavengood at gmail.com> wrote:
> On 5/21/08, Sarat Kongara <saratkongara at gmail.com> wrote:
> > I am not sure how to figure out the environment with which the
> > is started from inside a worker task. Any help is appreciated. Thanks for
> > your time.
> ENV["RAILS_ENV"] is defined properly inside the workers.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Backgroundrb-devel