Sha256: 220c75482f0a282a812e70d8007fc44e7fcecde62b7c83d7028ac57f17ef8604

Contents?: true

Size: 841 Bytes

Versions: 8

Compression:

Stored size: 841 Bytes

Contents

Jets.application.configure do
  config.cache_classes = true
  config.eager_load = true
  config.log_level = :info
  config.logging.event = false # can be useful for CloudWatch

<%- unless options[:mode] == 'job' -%>
  config.consider_all_requests_local       = false
  # Do not fallback to assets pipeline if a precompiled asset is missed.
<%- if options[:mode] == 'html' -%>
  config.assets.compile = false
<%- end -%>

  # Ignore bad email addresses and do not raise email delivery errors.
  # Set this to true and configure the email server for immediate delivery to raise delivery errors.
  # Docs: http://rubyonjets.com/docs/email-sending/
  config.action_mailer.raise_delivery_errors = true
  config.action_mailer.perform_caching = false
  # config.action_mailer.default_url_options = { host: 'localhost', port: 8888 }
<%- end -%>
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jets-5.0.13 lib/jets/generators/overrides/app/templates/config/environments/production.rb.tt
jets-5.0.12 lib/jets/generators/overrides/app/templates/config/environments/production.rb.tt
jets-5.0.11 lib/jets/generators/overrides/app/templates/config/environments/production.rb.tt
jets-5.0.10 lib/jets/generators/overrides/app/templates/config/environments/production.rb.tt
jets-5.0.9 lib/jets/generators/overrides/app/templates/config/environments/production.rb.tt
jets-5.0.8 lib/jets/generators/overrides/app/templates/config/environments/production.rb.tt
jets-5.0.7 lib/jets/generators/overrides/app/templates/config/environments/production.rb.tt
jets-5.0.6 lib/jets/generators/overrides/app/templates/config/environments/production.rb.tt