A word to the wise of rails developers. Hopefully this makes it to Google search, because when I looked it up, there wasn't an answer.
If you're configuring ActionMailer and you try to run the console and get the following messages:
Loading development environment.
uninitialized constant ActionMailer
NameError: uninitialized constant ActionController::Integration::Session::Test
NameError: uninitialized constant ActionController::Base
Make sure your ActionMailer configuration in your
config/environment.rb file is after your
Rails::Initializer.run do |config| block.