Uninitialized ActionMailer
While migrating a Ruby on Rails application to a new server I found my application throwing an unitialized ActionMailer error on server start.
./script/../config/../config/environment.rb:29:NameError
uninitialized constant ActionMailer
I thought this was strange – as the ActionMailer gem was installed fine.
The original system was running fcgi through Apache and on this server I was using Mongrel server.
http://highearthorbit.com/uninitialized-constant-actionmailer/
Turns out the ActionMailer server settings need to be outside the block
Rails::Initializer.run do |config|
..it fixed the problem for me.
1 comment
Buy:Levitra.Propecia.VPXL.Viagra Super Active+.Tramadol.Viagra Professional.Cialis.Soma.Viagra Soft Tabs.Cialis Professional.Maxaman.Viagra Super Force.Cialis Soft Tabs.Super Active ED Pack.Zithromax.Viagra.Cialis Super Active+….