diff --git a/lib/cybele/app_builder.rb b/lib/cybele/app_builder.rb index 6ba8137..8d25f73 100644 --- a/lib/cybele/app_builder.rb +++ b/lib/cybele/app_builder.rb @@ -145,6 +145,11 @@ def generate_exception_notification def leftovers end + # Internal: Setup Rails Config + def generate_rails_config + generate 'rails_config:install' + end + private # Internal: Set action mailer hostname diff --git a/lib/cybele/generators/app_generator.rb b/lib/cybele/generators/app_generator.rb index caade8a..def3515 100644 --- a/lib/cybele/generators/app_generator.rb +++ b/lib/cybele/generators/app_generator.rb @@ -110,6 +110,11 @@ def setup_exception_notification build :generate_exception_notification end + def setup_rails_config + say 'Generate rails config' + build :generate_rails_config + end + # Internal: Let's not: We'll bundle manually at the right spot. def run_bundle diff --git a/templates/cybele_Gemfile b/templates/cybele_Gemfile index 6cde91f..c8704f9 100644 --- a/templates/cybele_Gemfile +++ b/templates/cybele_Gemfile @@ -13,6 +13,7 @@ gem 'bootstrap-sass', '~> 2.3.1.0' gem 'responders' gem 'exception_notification', github: 'smartinez87/exception_notification' gem 'simple_form', '~> 3.0.0.rc' +gem 'rails_config', '~> 0.3.3' group :doc do gem 'sdoc', require: false