Skip to content
This repository
Browse code

Rack should respect $RACK_ENV when starting up, fixes 3rd party bugs …

…introduced by b433e48
  • Loading branch information...
commit 32de46c139e10dc2261ca63a3049e98e310d0781 1 parent dc6b54e
James Tucker raggi authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/rack/server.rb
2  lib/rack/server.rb
@@ -144,7 +144,7 @@ def options
144 144
145 145 def default_options
146 146 {
147   - :environment => "development",
  147 + :environment => ENV['RACK_ENV'] || "development",
148 148 :pid => nil,
149 149 :Port => 9292,
150 150 :Host => "0.0.0.0",

0 comments on commit 32de46c

Please sign in to comment.
Something went wrong with that request. Please try again.