From 5c14165d6f5dc46f3b81276ac9394dc4bab32032 Mon Sep 17 00:00:00 2001 From: jcwimer Date: Tue, 24 Mar 2015 14:40:20 +0000 Subject: [PATCH] Updated procfile for puma --- Gemfile | 1 + Gemfile.lock | 3 +++ Procfile | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 1b013e4..9e8a585 100644 --- a/Gemfile +++ b/Gemfile @@ -54,6 +54,7 @@ gem 'spring', group: :development gem 'rb-readline' gem 'jquery-datatables-rails', github: 'rweng/jquery-datatables-rails' gem 'jquery-ui-rails' + gem 'puma' diff --git a/Gemfile.lock b/Gemfile.lock index 06db1c2..b02a34f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -95,6 +95,8 @@ GEM mini_portile (~> 0.6.0) orm_adapter (0.5.0) pg (0.18.1) + puma (2.11.1) + rack (>= 1.1, < 2.0) rack (1.6.0) rack-test (0.6.3) rack (>= 1.0) @@ -180,6 +182,7 @@ DEPENDENCIES jquery-ui-rails mysql2 pg + puma rails (= 4.2.0) rails_12factor rb-readline diff --git a/Procfile b/Procfile index 26e68b6..6bbd5ce 100644 --- a/Procfile +++ b/Procfile @@ -1 +1,2 @@ -worker: rake jobs:work \ No newline at end of file +worker: rake jobs:work +web: bundle exec puma -t 5:5 -p $PORT -e $RAILS_ENV \ No newline at end of file