lib/suspenders/app_builder.rb in welaika-suspenders-2.0.0.pre vs lib/suspenders/app_builder.rb in welaika-suspenders-2.0.0
- old
+ new
@@ -299,11 +299,11 @@
def init_git
run 'git init'
end
def create_heroku_apps
- run_heroku "create #{app_name}-production", "production"
- run_heroku "create #{app_name}-staging", "staging"
+ run_heroku "create #{app_name}-production --region eu", "production"
+ run_heroku "create #{app_name}-staging --region eu", "staging"
run_heroku "config:add RACK_ENV=staging RAILS_ENV=staging", "staging"
end
def set_heroku_remotes
remotes = <<-SHELL