From 8ce1ba6cc7409e5c6b04286bdf09bc175a0274fb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 5 Nov 2009 01:50:17 -0800 Subject: ensure RACK_ENV is inherited from the parent env Add tests to ensure we set it correctly and it gets passed down to the app. --- bin/rainbows | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/rainbows b/bin/rainbows index eec54b0..c5c3d87 100644 --- a/bin/rainbows +++ b/bin/rainbows @@ -4,7 +4,7 @@ require 'unicorn/launcher' require 'rainbows' require 'optparse' -ENV["RACK_ENV"] = "development" +ENV["RACK_ENV"] ||= "development" daemonize = false listeners = [] options = { :listeners => listeners } -- cgit v1.2.3-24-ge0c7