On Mon, Jan 4, 2010 at 3:18 PM, Benjamin Podszun <[email protected]
> wrote:

> On Mon, Jan 4, 2010 at 2:59 PM, Benjamin Podszun
> <[email protected]> wrote:
> So that _looks_ good, but again: It seems that this doesn't use the
> settings defined in environments/production.rb for me. I can see that
> boot.rb includes environment.rb as well.
>

environment.rb is the file normally included/required in order to load the
Rails environment; boot.rb is loaded from this.


> Possible ideas (can you shoot them down?):
> - boot.rb does something to the ActionMailer class (creating an
> instance that reads the configuration, whatever)
> - boot.rb predefines something that leads to the parsing of
> environments/production.rb
>

My first suspicion would be that your RAILS_ENV doesn't get picked up by
script/poller; however requiring boot.rb shouldn't affect this. Does a git
diff show that this is the *only* change you made? In that case, does it
work if you require config/environment instead of config/boot?

Regards,
Marius

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

Reply via email to