Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7583349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:39:22+00:00 2026-05-30T18:39:22+00:00

I ran bundle update in order to get an update on a few gems

  • 0

I ran bundle update in order to get an update on a few gems that I was having issues with and I’m now getting an error when launching the console. The error is listed below. I’m still a newb to rails (playing around with it in my offtime) so this is quite possibly something trivial.

Error:

/Users/chance/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/railtie/configuration.rb:77:in `method_missing': undefined method `action_mailer' for #<Rails::Application::Configuration:0x000001020fc280> (NoMethodError)
from /Users/chance/Sites/AppName/config/application.rb:35:in `<class:Application>'
from /Users/chance/Sites/AppName/config/application.rb:10:in `<module:AppName>'
from /Users/chance/Sites/AppName/config/application.rb:9:in `<top (required)>'
from /Users/chance/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands.rb:21:in `require'
from /Users/chance/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands.rb:21:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'

application.rb
[edited out host & password]

 require File.expand_path('../boot', __FILE__)

require 'rails/all'

# If you have a Gemfile, require the gems listed there, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)

module AppName
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.

    # Custom directories with classes and modules you want to be autoloadable.
    # config.autoload_paths += %W(#{config.root}/extras)

    # Only load the plugins named here, in the order given (default is alphabetical).
    # :all can be used as a placeholder for all plugins not explicitly named.
    # config.plugins = [ :exception_notification, :ssl_requirement, :all ]

    # Activate observers that should always be running.
    # config.active_record.observers = :cacher, :garbage_collector, :forum_observer

    # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
    # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
    #config.time_zone = 'Central Time (US & Canada)'

    # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
    # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
    # config.i18n.default_locale = :de

    # JavaScript files you want as :defaults (application.js is always included).
    config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
    config.action_mailer.default_url_options = {
      :address              => "smtp.gmail.com",
      :port                 => 587,
      :domain               => "host.net",
      :user_name            => "test@host.net",
      :password             => "******",
      :authentication       => "plain"
     # :enable_starttls_auto => true
     }
   config.action_mailer.default_url_options = { :host => 'localhost:3000' }


    # Configure the default encoding used in templates for Ruby 1.9.
    config.encoding = "utf-8"
    # Configure sensitive parameters which will be filtered from the log file.
    config.filter_parameters += [:password]
  end
end
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T18:39:23+00:00Added an answer on May 30, 2026 at 6:39 pm

    See the below lines in your code

    config.action_mailer.default_url_options = {
          :address              => "smtp.gmail.com",
          :port                 => 587,
          :domain               => "host.net",
          :user_name            => "test@host.net",
          :password             => "******",
          :authentication       => "plain"
         # :enable_starttls_auto => true
       }
    

    You have misplace the code config.action_mailer.smtp_settings
    if rails 3 config.action_mailer.server_settings

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I ran bundle update to update my gems. now I get this when I
I recently ran into some issues with android.os.Bundle that I hoped to fix by
I just ran bundle update and got the following error - I have no
Setup error.sass is under app/assets/stylesheets I ran bundle exec rake assets:precompile error.css is in
I recently wanted to update my gem bundle but ran into installation problems with
I ran bundle install vendor/gems and all the gems got saved to the gems
Can not update gems on production server. I've tried bundle install --deployment and bundle
I get this error also if i ran Rails s, or rails generate active_admin:install
I have that sneaking feeling I'm missing something obvious: I ran RAILS_ENV=production bundle exec
I just ran the eclipse update process and now have at least two problems.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.