actionmailer on Debian Etch

Hello,

I have two debian etch systems, both have rails. I have installed them with apt, not gems. No problems so far.

Now I have tried to use the actionmailer. The results:

mage@miranda:~/temp$ rails mailer       create       create app/controllers       [....]       create log/test.log mage@miranda:~/temp$ cd mailer mage@miranda:~/temp/mailer$ script/generate mailer Letter test send       exists app/models/       create app/views/letter       exists test/unit/       create test/fixtures/letter       create app/models/letter.rb       create test/unit/letter_test.rb       create app/views/letter/test.rhtml       create test/fixtures/letter/test       create app/views/letter/send.rhtml       create test/fixtures/letter/send mage@miranda:~/temp/mailer$ script/runner Letter.deliver_test ./script/../config/../vendor/rails/railties/lib/commands/runner.rb:27: undefined method `wday' for "test":String (NoMethodError)         from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/facade.rb:109:in `date='         from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:476:in `create_mail'         from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:386:in `create!'         from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:331:in `initialize'         from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:291:in `new'         from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:291:in `method_missing'         from (eval):1         from script/runner:3:in `eval'         from ./script/../config/../vendor/rails/railties/lib/commands/runner.rb:27         from script/runner:3:in `require'         from script/runner:3 mage@miranda:~/temp/mailer$

Well, I know that I should have config smtp | sendmail, however the logs above don't seem to be caused by bad configuration. Both system are up to date. Any ideas? By the way:

mage@miranda:~/temp/mailer$ script/runner "Letter.deliver_test(Time.now)" ./script/../config/../vendor/rails/railties/lib/commands/runner.rb:27: ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:338:in `send': wrong number of arguments (2 for 1) (ArgumentError)         from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:338:in `create!'         from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:331:in `initialize'         from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:291:in `new'         from ./script/../config/../vendor/rails/actionmailer/lib/action_mailer/base.rb:291:in `method_missing'         from (eval):1         from script/runner:3:in `eval'         from ./script/../config/../vendor/rails/railties/lib/commands/runner.rb:27         from script/runner:3:in `require'         from script/runner:3

       Mage

It seems that the source of the error is: script/generate mailer Name send

which overwrites the send method ot the Mailer class. It should be checked.

          Mage