Rails 2.0 ActionMailer breaks my redmine render_message

I got the same problem using Acts As Authenticated plugin. I don't know the reason why, but when I commented out the following line in config/environment.rb, ActionMailer stopped complaining.

# RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION