Switch to passenger (Part I)
parent
3958c27dae
commit
df6e8af06b
6
Gemfile
6
Gemfile
|
@ -26,12 +26,12 @@ gem "rollbar"
|
||||||
gem "scenic"
|
gem "scenic"
|
||||||
gem "secure_headers"
|
gem "secure_headers"
|
||||||
gem "skylight"
|
gem "skylight"
|
||||||
gem "thin"
|
|
||||||
gem "tzinfo" # For validation of user selected timezone names
|
gem "tzinfo" # For validation of user selected timezone names
|
||||||
gem "valid_url"
|
gem "valid_url"
|
||||||
gem "webpack-rails"
|
gem "webpack-rails"
|
||||||
|
|
||||||
group :development, :test do
|
group :development, :test do
|
||||||
|
gem "thin"
|
||||||
gem "capybara"
|
gem "capybara"
|
||||||
gem "codecov", require: false
|
gem "codecov", require: false
|
||||||
gem "database_cleaner"
|
gem "database_cleaner"
|
||||||
|
@ -49,3 +49,7 @@ group :development, :test do
|
||||||
gem "simplecov"
|
gem "simplecov"
|
||||||
gem "smarf_doc", git: "https://github.com/RickCarlino/smarf_doc.git"
|
gem "smarf_doc", git: "https://github.com/RickCarlino/smarf_doc.git"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
group :production do
|
||||||
|
gem "passenger"
|
||||||
|
end
|
||||||
|
|
|
@ -208,6 +208,9 @@ GEM
|
||||||
mime-types
|
mime-types
|
||||||
mimemagic (~> 0.3.0)
|
mimemagic (~> 0.3.0)
|
||||||
terrapin (~> 0.6.0)
|
terrapin (~> 0.6.0)
|
||||||
|
passenger (5.3.1)
|
||||||
|
rack
|
||||||
|
rake (>= 0.8.1)
|
||||||
pg (1.0.0)
|
pg (1.0.0)
|
||||||
polymorphic_constraints (1.0.0)
|
polymorphic_constraints (1.0.0)
|
||||||
rails
|
rails
|
||||||
|
@ -371,6 +374,7 @@ DEPENDENCIES
|
||||||
lol_dba
|
lol_dba
|
||||||
mutations
|
mutations
|
||||||
paperclip
|
paperclip
|
||||||
|
passenger
|
||||||
pg
|
pg
|
||||||
polymorphic_constraints
|
polymorphic_constraints
|
||||||
pry
|
pry
|
||||||
|
|
2
Procfile
2
Procfile
|
@ -1,3 +1,3 @@
|
||||||
web: bin/rails server -p $PORT -e $RAILS_ENV
|
web: bundle exec passenger start -p $PORT -e $RAILS_ENV --max-pool-size 3
|
||||||
log_service: bin/rails r lib/log_service.rb
|
log_service: bin/rails r lib/log_service.rb
|
||||||
worker: bundle exec rake jobs:work
|
worker: bundle exec rake jobs:work
|
||||||
|
|
Loading…
Reference in New Issue