File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def set_seeds_for_review_apps
65
65
66
66
def add_production_gems
67
67
gem_group :production do
68
- gem "passenger "
68
+ gem "puma "
69
69
gem "fog-aws"
70
70
gem "dalli"
71
71
gem "sendgrid-ruby"
@@ -76,10 +76,6 @@ def add_production_gems
76
76
end
77
77
end
78
78
79
- def remove_puma
80
- gsub_file ( "Gemfile" , /^gem 'puma'.*$/ , "" )
81
- end
82
-
83
79
def bundle_install
84
80
Bundler . with_clean_env do
85
81
run "bundle install"
Original file line number Diff line number Diff line change 1
- web: bundle exec passenger start -p ${PORT:-3000} --max-pool-size ${WEB_CONCURRENCY:-5 }
1
+ web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development }
2
2
worker: bundle exec sidekiq -e ${RACK_ENV:-development} -C config/sidekiq.yml
3
3
release: bundle exec rake db:migrate
You can’t perform that action at this time.
0 commit comments