about summary refs log tree commit homepage
path: root/bin/rainbows
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-05 01:50:17 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-05 01:50:17 -0800
commit8ce1ba6cc7409e5c6b04286bdf09bc175a0274fb (patch)
tree881f02000435f9727c9d9cadf3a417a2d4ba3515 /bin/rainbows
parentb5c1db0c2cd95bcfba1e67fa8a0a058f80025528 (diff)
downloadrainbows-8ce1ba6cc7409e5c6b04286bdf09bc175a0274fb.tar.gz
Add tests to ensure we set it correctly and it gets
passed down to the app.
Diffstat (limited to 'bin/rainbows')
-rw-r--r--bin/rainbows2
1 files changed, 1 insertions, 1 deletions
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 }