##// END OF EJS Templates
PDF: add test of ensuring 'ASCII-8BIT' encoding in Ruby 1.9 (#61)....
PDF: add test of ensuring 'ASCII-8BIT' encoding in Ruby 1.9 (#61). Japanese CP932(Shift_JIS) and Traditional Chinese Big5 have 0x5c(backslash) problem, and these are incompatible with ASCII. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5566 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r4068:1781d87477e0
r5446:02c5577a26b1
Show More
production.rb
30 lines | 1.1 KiB | text/x-ruby | RubyLexer
# Settings specified here will take precedence over those in config/environment.rb
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
config.cache_classes = true
#####
# Customize the default logger (http://ruby-doc.org/core/classes/Logger.html)
#
# Use a different logger for distributed setups
# config.logger = SyslogLogger.new
#
# Rotate logs bigger than 1MB, keeps no more than 7 rotated logs around.
# When setting a new Logger, make sure to set it's log level too.
#
# config.logger = Logger.new(config.log_path, 7, 1048576)
# config.logger.level = Logger::INFO
# Full error reports are disabled and caching is turned on
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"
# Disable delivery errors if you bad email addresses should just be ignored
config.action_mailer.raise_delivery_errors = false
# No email in production log
config.action_mailer.logger = nil