1 # Settings specified here will take precedence over those in config/environment.rb
3 # The production environment is meant for finished, "live" apps.
4 # Code is not reloaded between requests
5 config.cache_classes = true
7 # Use a different logger for distributed setups
8 # config.logger = SyslogLogger.new
9 config.logger = Logger.new("#{RAILS_ROOT}/log/#{RAILS_ENV}.log", 'daily')
11 # Full error reports are disabled and caching is turned on
12 config.action_controller.consider_all_requests_local = false
13 config.action_controller.perform_caching = true
14 config.action_view.cache_template_loading = true
16 # Use a different cache store in production
17 # config.cache_store = :mem_cache_store
18 config.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache"
20 # Enable serving of images, stylesheets, and javascripts from an asset server
21 # config.action_controller.asset_host = "http://assets.example.com"
23 # Disable delivery errors, bad email addresses will be ignored
24 config.action_mailer.raise_delivery_errors = false
26 ActionMailer::Base.delivery_method = :smtp
27 ActionMailer::Base.smtp_settings = {
28 :domain => 'localhost',
29 :address => 'localhost',
32 ActionMailer::Base.default_charset = 'iso-2022-jp'
34 config.log_level = :debug