undefined method `name' for "actionmailer":String undefined method `name' for "actionmailer":String ruby ruby

undefined method `name' for "actionmailer":String


I had this problem.The solution is to downgrade rubygems to a version you support.

I needed version 1.3.5 (for rails 2.3.5)

So you need to do:

gem install rubygems-update -v 1.3.5

update_rubygems --version=1.3.5

And now rake should work.


I think you should update the RubyGems version.
Try gem install rubygems-update.