On Wed, Dec 30, 2009 at 5:03 PM, Benjamin Podszun
<[email protected]> wrote:
> emails. I changed config/environments/production.rb to define
[...]
> The problem? The poller script doesn't adhere to the rails
> configuration above. I "fixed" it, being completely ignorant about the
> language, by changing script/poller to include

Make sure you start it in the correct environment, eg:
$ env RAILS_ENV=production script/poller ...

I think the poller defaults to the development environment, whereas
the others default to production..

Cheers,
JS

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to