1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Formatting fix

This commit is contained in:
Evan Phoenix 2012-07-19 16:38:16 -07:00
parent 39a06e702a
commit 27b2f8e60a
2 changed files with 7 additions and 3 deletions

View file

@ -238,8 +238,12 @@ module Puma
end
def set_rack_environment
# Try the user option first, then the environment variable, finally default to development
ENV['RACK_ENV'] = @options[:environment] || ENV['RACK_ENV'] || 'development'
# Try the user option first, then the environment variable,
# finally default to development
ENV['RACK_ENV'] = @options[:environment] ||
ENV['RACK_ENV'] ||
'development'
end
def delete_pidfile