lib/pah/templates/heroku.rb in pah-0.0.22 vs lib/pah/templates/heroku.rb in pah-0.0.23

- old
+ new

@@ -1,8 +1,8 @@ class HerokuApp < Rails::Generators::AppGenerator DEFAULT_ADDONS = %w(heroku-postgresql:dev logentries - mandrill:starter rollbar newrelic:stark librato) + mandrill:starter rollbar newrelic:wayne librato) attr_reader :name, :description, :config def initialize(config) @config = config @@ -33,10 +33,10 @@ run "git remote add heroku git@heroku.com:#{name}.git" end def add_heroku_addon(addon) say "Adding heroku addon [#{addon}] to '#{name}'.".green - run "heroku addons:add #{addon} --app #{name}" + run "heroku addons:create #{addon} --app #{name}" end def add_canonical_domain(domain) run "heroku domains:add #{domain} --app #{name}" end