From e431316e14add84c228eb5291440935b0d9cd46c Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Wed, 22 Apr 2015 09:53:02 -0400 Subject: [PATCH] Switch to passenger --- Gemfile | 5 ++++- Procfile | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 51f2bda..f4561ec 100644 --- a/Gemfile +++ b/Gemfile @@ -45,13 +45,16 @@ gem 'spring', group: :development gem 'pg' gem 'rails_12factor' gem 'mysql2' + gem 'passenger' end #Other gem 'devise' gem 'cancan' gem 'round_robin_tournament' gem 'rb-readline' - gem 'puma' + group :development do + gem 'puma' + end diff --git a/Procfile b/Procfile index 6bbd5ce..f37076c 100644 --- a/Procfile +++ b/Procfile @@ -1,2 +1,2 @@ worker: rake jobs:work -web: bundle exec puma -t 5:5 -p $PORT -e $RAILS_ENV \ No newline at end of file +web: bundle exec passenger start -p $PORT --max-pool-size 3 \ No newline at end of file