GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

production.rb 2.3 KiB

12 years ago
12 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Apollo::Application.configure do
  2. # Settings specified here will take precedence over those in config/application.rb
  3. # Code is not reloaded between requests
  4. config.cache_classes = true
  5. # Full error reports are disabled and caching is turned on
  6. config.consider_all_requests_local = false
  7. config.action_controller.perform_caching = true
  8. # Disable Rails's static asset server (Apache or nginx will already do this)
  9. config.serve_static_assets = false
  10. # Compress JavaScripts and CSS
  11. config.assets.compress = true
  12. # Don't fallback to assets pipeline if a precompiled asset is missed
  13. config.assets.compile = false
  14. # Generate digests for assets URLs
  15. config.assets.digest = true
  16. # Defaults to nil and saved in location specified by config.assets.prefix
  17. # config.assets.manifest = YOUR_PATH
  18. # Specifies the header that your server uses for sending files
  19. # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
  20. # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
  21. # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
  22. # config.force_ssl = true
  23. # See everything in the log (default is :info)
  24. # config.log_level = :debug
  25. # Prepend all log lines with the following tags
  26. # config.log_tags = [ :subdomain, :uuid ]
  27. # Use a different logger for distributed setups
  28. # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
  29. # Use a different cache store in production
  30. # config.cache_store = :mem_cache_store
  31. # Enable serving of images, stylesheets, and JavaScripts from an asset server
  32. # config.action_controller.asset_host = "http://assets.example.com"
  33. # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
  34. # config.assets.precompile += %w( search.js )
  35. # Disable delivery errors, bad email addresses will be ignored
  36. # config.action_mailer.raise_delivery_errors = false
  37. # Enable threaded mode
  38. # config.threadsafe!
  39. # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
  40. # the I18n.default_locale when a translation can not be found)
  41. config.i18n.fallbacks = true
  42. # Send deprecation notices to registered listeners
  43. config.active_support.deprecation = :notify
  44. # Workless
  45. config.after_initialize do
  46. Delayed::Job.scaler = :heroku_cedar
  47. end
  48. end