Skip to content

Commit

Permalink
#8 add rails config
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdilek committed Jul 10, 2013
1 parent 699fd57 commit 93ccbfe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/cybele/app_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions lib/cybele/generators/app_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions templates/cybele_Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93ccbfe

Please sign in to comment.