Skip to content

Commit

Permalink
use puma via procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hexinpeter committed Aug 16, 2015
1 parent d231d1e commit 7d18cf8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,4 @@ pickle-email-*.html
# Environment files that may contain sensitive data
.env
.powenv
.env
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ end

group :production do
gem 'rails_12factor'
gem 'puma'
end

group :test do
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
puma (2.13.2)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rack (1.6.4)
Expand Down Expand Up @@ -245,6 +246,7 @@ DEPENDENCIES
launchy
pg
pry
puma
quiet_assets
rails (= 4.2.1)
rails_12factor
Expand Down
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}

0 comments on commit 7d18cf8

Please sign in to comment.