undefined method 'class_inheritable_accessor' for ActionMailer:Base:Class (NoMethodError)
begin raise Exception.new; rescue Exception => e; puts e.backtrace; end
unless defined?(ActionController)
begin
$:.unshift "#{File.dirname(__FILE__)}/../../actionpack/lib"
require 'action_controller'
rescue LoadError
require 'rubygems'
gem 'actionpack', '>= 1.12.5'
end
end
--- a/actionmailer/lib/action_mailer.rb
+++ b/actionmailer/lib/action_mailer.rb
@@ -28,6 +28,7 @@ unless defined?(ActionController)
rescue LoadError
require 'rubygems'
gem 'actionpack', '>= 1.12.5'
+ require 'action_controller'
end
end