Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Commit fc42474

Browse files
committed
Added puma gem for using Puma webserver on Heroku
1 parent 2b50c36 commit fc42474

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ gem 'rails_stdout_logging'
5959
gem 'rails_serve_static_assets'
6060
# https://devcenter.heroku.com/articles/ruby-support#injected-plugins
6161

62+
6263
group :doc do
6364
# bundle exec rake doc:rails generates the API under doc/api.
6465
gem 'sdoc', '~> 0.4.0'
@@ -75,6 +76,7 @@ group :development do
7576
end
7677

7778
group :production do
79+
gem 'puma'
7880
gem 'mysql2'
7981
end
8082

Gemfile.lock

+11
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ GEM
9393
coderay (~> 1.1.0)
9494
method_source (~> 0.8.1)
9595
slop (~> 3.4)
96+
puma (2.11.1)
97+
rack (>= 1.1, < 2.0)
9698
rack (1.6.0)
9799
rack-test (0.6.3)
98100
rack (>= 1.0)
@@ -115,6 +117,11 @@ GEM
115117
rails-deprecated_sanitizer (>= 1.0.1)
116118
rails-html-sanitizer (1.0.1)
117119
loofah (~> 2.0)
120+
rails_12factor (0.0.3)
121+
rails_serve_static_assets
122+
rails_stdout_logging
123+
rails_serve_static_assets (0.0.4)
124+
rails_stdout_logging (0.0.3)
118125
railties (4.2.0)
119126
actionpack (= 4.2.0)
120127
activesupport (= 4.2.0)
@@ -171,7 +178,11 @@ DEPENDENCIES
171178
mini_magick
172179
mysql2
173180
pry
181+
puma
174182
rails (= 4.2.0)
183+
rails_12factor
184+
rails_serve_static_assets
185+
rails_stdout_logging
175186
sass-rails (~> 4.0.3)
176187
sdoc (~> 0.4.0)
177188
spring

Procfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: bundle exec puma -C config/puma.rb

0 commit comments

Comments
 (0)