Cannot send message anymore

10 views
Skip to first unread message

@lex

unread,
Apr 22, 2010, 10:06:35 AM4/22/10
to Cerberus
Hi,

Not sure to post on the good list as it does not seem to be alive
anymore...

I recently installed Rails 3 on my server and so ActionMailer. Now
cerberus does not know how to send emails :
Wed, 21 Apr 2010 21:45:03 [my_project] -- ArgumentError
wrong number of arguments (0 for 3)
/Library/Ruby/Gems/1.8/gems/actionmailer-3.0.0.beta3/lib/
action_mailer/delivery_methods.rb:83:in `message'
/Library/Ruby/Gems/1.8/gems/actionmailer-3.0.0.beta3/lib/
action_mailer/delivery_methods.rb:83:in `wrap_delivery_behavior!'
/Library/Ruby/Gems/1.8/gems/actionmailer-3.0.0.beta3/lib/
action_mailer/old_api.rb:178:in `create_mail'
/Library/Ruby/Gems/1.8/gems/actionmailer-3.0.0.beta3/lib/
action_mailer/old_api.rb:77:in `process'
/Library/Ruby/Gems/1.8/gems/actionmailer-3.0.0.beta3/lib/
action_mailer/base.rb:380:in `process'
/Library/Ruby/Gems/1.8/gems/actionmailer-3.0.0.beta3/lib/
action_mailer/base.rb:375:in `initialize'
/Library/Ruby/Gems/1.8/gems/actionmailer-3.0.0.beta3/lib/
action_mailer/deprecated_api.rb:68:in `new'
/Library/Ruby/Gems/1.8/gems/actionmailer-3.0.0.beta3/lib/
action_mailer/deprecated_api.rb:68:in `method_missing'
/Library/Ruby/Gems/1.8/gems/actionmailer-3.0.0.beta3/lib/
action_mailer/base.rb:361:in `method_missing'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
publisher/mail.rb:16:in `publish'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
manager.rb:141:in `run'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
manager.rb:135:in `each'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
manager.rb:135:in `run'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
latch.rb:21:in `lock'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
manager.rb:112:in `run'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
manager.rb:200:in `run'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
manager.rb:200:in `initialize'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
manager.rb:200:in `new'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
manager.rb:200:in `run'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
manager.rb:195:in `each'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
manager.rb:195:in `run'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/../lib/cerberus/
cli.rb:31:in `initialize'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/cerberus:10:in
`new'
/Library/Ruby/Gems/1.8/gems/cerberus-0.7.5/bin/cerberus:10
/usr/bin/cerberus:19:in `load'
/usr/bin/cerberus:19

Any idea if I can specify the version on ActionMailer anywhere?
(worked well with 2.3.5)

Regards
@lex

--
You received this message because you are subscribed to the Google Groups "Cerberus" group.
To post to this group, send email to cerbe...@googlegroups.com.
To unsubscribe from this group, send email to cerberusci+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cerberusci?hl=en.

Craig Jolicoeur

unread,
Apr 22, 2010, 10:13:26 AM4/22/10
to cerbe...@googlegroups.com
Hi @lex,

The list is still very much alive, lol. Its definitely not a high
volume list, but its still in use (last post was made this month, so
its definitely not dead).

I haven't tested Cerberus yet with any of the new Rails 3 gems
(notably ActionMailer 3).

I'm sure there are a quite a few changes to the ActionMailer code that
Cerberus currently isn't set to handle properly. We'll have to dig
in and see the differences with sending mail between ActionMailer
2.3.x and ActionMailer 3.x.

What specific version of the ActionMailer gem are you running on, just
for curiosity sake?

If anyone else on the list has gotten Cerberus running with the Rails
3 gems, please feel free to give some input here.

- Craig

Craig Jolicoeur

unread,
Apr 22, 2010, 10:16:03 AM4/22/10
to cerbe...@googlegroups.com
@lex,

Nevermind my version info request. I should have just looked at the
stack trace you posted to see that you were on the 3.0.0.beta3
version.

Alexandre Friquet

unread,
Apr 22, 2010, 10:20:28 AM4/22/10
to cerbe...@googlegroups.com
Hi Craig,

> The list is still very much alive, lol. Its definitely not a high
> volume list, but its still in use (last post was made this month, so
> its definitely not dead).

Thanks for you quick answer. Undoubtedly it is not dead ;))

> What specific version of the ActionMailer gem are you running on, just
> for curiosity sake?

The last one : actionmailer-3.0.0.beta3

--
@lex

Craig Jolicoeur

unread,
Apr 22, 2010, 10:30:48 AM4/22/10
to cerbe...@googlegroups.com
A quick look at the ActionMailer 3 docs say it *should* retain
backwards compatibility with the old 2.x tree, but apparently that
isn't the answer.

I'll have to take a look at this later today and see whats going on.
Thanks for the bug report though.

- Craig

Craig Jolicoeur

unread,
Apr 25, 2010, 2:42:27 PM4/25/10
to cerbe...@googlegroups.com
Alex,

This issue will be taken care of in the soon to be release 0.7.7
version of Cerberus.

For now, I've simply updated the Cerberus release to require a version
of ActionMailer from the 2.x branch instead of using the newest
available (in your case, the 3.x branch).

- Craig

Alexandre Friquet

unread,
Apr 26, 2010, 3:07:06 AM4/26/10
to cerbe...@googlegroups.com
Hi Craig,

> This issue will be taken care of in the soon to be release 0.7.7
> version of Cerberus.
>
> For now, I've simply updated the Cerberus release to require a version
> of ActionMailer from the 2.x branch instead of using the newest
> available (in your case, the 3.x branch).

Just installed and tested and everything is OK!

Thanks for your support!

@lex

Craig Jolicoeur

unread,
Apr 26, 2010, 8:14:33 AM4/26/10
to cerbe...@googlegroups.com
Glad to hear it.

- Craig

On Apr 26, 2010, at 3:07 AM, Alexandre Friquet <al...@infopiiaf.fr>
wrote:
Reply all
Reply to author
Forward
0 new messages