After setting up some Mailer-classes, I got this error:
/usr/local/lib/ruby/gems/1.9.1/gems/actionmailer-3.0.7/lib/action_mailer/tmail_compat.rb:1:in `<top (required)>': Mail is not a module (TypeError)
I have no idea what might be meant, do you have an ide开发者_Go百科a?
I just created some mailers with rails g mailer my_mailer
and after this, the error came up.
Please help.
Yours
Joern
Did you define a class called Mail
accidentally? This is a reserved class in Rails, as the actionmailer
gem that comes with Rails depends on the Mail
gem. You will have to choose another name.
精彩评论