Class: Suspenders::Production::TimeoutGenerator
Instance Method Summary
collapse
default_source_root
Methods included from Actions
#action_mailer_asset_host, #action_mailer_host, #configure_environment, #expand_json, #replace_in_file
Instance Method Details
#add_gem ⇒ Object
6
7
8
9
|
# File 'lib/suspenders/generators/production/timeout_generator.rb', line 6
def add_gem
gem "rack-timeout", group: :production
Bundler.with_clean_env { run "bundle install" }
end
|
11
12
13
|
# File 'lib/suspenders/generators/production/timeout_generator.rb', line 11
def configure_rack_timeout
append_file ".env", rack_timeout_config
end
|