On Tue, Jan 5, 2010 at 1:31 PM, Marius Mårnes Mathiesen <[email protected]> wrote: > On Tue, Jan 5, 2010 at 1:06 PM, Benjamin Podszun > <[email protected]> wrote: >> >> 1) Why does the initial change that I made work at all (it does, just >> verified it again). I'll play around some after work/tonight.. > > In my opinion, it should work without needing to require boot/environment; > the poller script needs to run a full Gitorious environment to function > properly. What's a little strange is that almost everything seems to work > for you (?) - apart from the ActionMailer settings.
Let me shoot back: What else from the configuration is used in that script? What does it do? It _does_ create projects/add keys/send notifications - the latter after messing around. >> 2) Should these settings be available at that point of the script at all? > > If you're referring to ActionMailer::Base's smtp_settings: absolutely! If > requiring config/environment in script/poller helps, something that should > be loaded isn't being loaded. Yes, that's what I was referring to. Can you reproduce this behaviour? Thanks for the fast replies, Ben -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
