module Generapp::Actions::Production
App production environment associated actions
Public Instance Methods
configure_newrelic()
click to toggle source
# File lib/generapp/actions/production.rb, line 7 def configure_newrelic template 'config/newrelic.yml.erb', 'config/newrelic.yml' end
configure_rack_timeout()
click to toggle source
# File lib/generapp/actions/production.rb, line 11 def configure_rack_timeout rack_timeout_config = <<-RUBY Rack::Timeout.timeout = Integer(ENV['RACK_TIMEOUT'] || 10) RUBY append_file 'config/environments/production.rb', rack_timeout_config end