- Softwrap mode:
- Toggle
Blob of config/environments/production.rb
(raw blob data)
| 1 | # Settings specified here will take precedence over those in config/environment.rb |
| 2 | |
| 3 | # The production environment is meant for finished, "live" apps. |
| 4 | # Code is not reloaded between requests |
| 5 | config.cache_classes = true |
| 6 | |
| 7 | # Use a different logger for distributed setups |
| 8 | # config.logger = SyslogLogger.new |
| 9 | |
| 10 | require 'hodel_3000_compliant_logger' |
| 11 | config.logger = Hodel3000CompliantLogger.new(config.log_path) |
| 12 | |
| 13 | # Full error reports are disabled and caching is turned on |
| 14 | config.action_controller.consider_all_requests_local = false |
| 15 | config.action_controller.perform_caching = true |
| 16 | |
| 17 | # Enable serving of images, stylesheets, and javascripts from an asset server |
| 18 | # config.action_controller.asset_host = "http://assets.example.com" |
| 19 | |
| 20 | # Disable delivery errors, bad email addresses will be ignored |
| 21 | # config.action_mailer.raise_delivery_errors = false |
| 22 | |
| 23 | ExceptionNotifier.exception_recipients = YAML.load_file(File.join(RAILS_ROOT, |
| 24 | "config/gitorious.yml"))["exception_notification_emails"] |
