Skip to content

Commit 0923e9d

Browse files
authored
Merge pull request #428 from caius/cd/production-webserver
Default to running webserver in production environment
2 parents 875d129 + cce10db commit 0923e9d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/gemstash/puma.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
bind Gemstash::Env.current.config[:bind].to_s
99
workers Gemstash::Env.current.config[:puma_workers].to_i unless RUBY_PLATFORM == "java"
1010
rackup Gemstash::Env.current.rackup
11+
environment ENV["APP_ENV"] || ENV["RACK_ENV"] || "production"

0 commit comments

Comments
 (0)