diff --git a/lib/puma/runner.rb b/lib/puma/runner.rb index 3dd598ae..ed75a52d 100644 --- a/lib/puma/runner.rb +++ b/lib/puma/runner.rb @@ -94,12 +94,13 @@ module Puma def output_header(mode) min_t = @options[:min_threads] max_t = @options[:max_threads] + environment = @options[:environment] log "Puma starting in #{mode} mode..." log "* Puma version: #{Puma::Const::PUMA_VERSION} (#{ruby_engine}) (\"#{Puma::Const::CODE_NAME}\")" log "* Min threads: #{min_t}" log "* Max threads: #{max_t}" - log "* Environment: #{ENV['RACK_ENV']}" + log "* Environment: #{environment}" if mode == "cluster" log "* Master PID: #{Process.pid}"