diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-10-06 17:16:49 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-10-06 17:18:13 -0700 |
commit | 629107d749748f661ddb73f146ab35836874cc9e (patch) | |
tree | 4032b3d940f7baa88478952fb6a3b0448e4a9d07 | |
parent | 1d1a2b1bd5bdd89f774f19bf8ad24c2f5f8a2d4c (diff) | |
download | unicorn-629107d749748f661ddb73f146ab35836874cc9e.tar.gz |
It's more descriptive as to what environment we're setting than "ENVIRONMENT".
-rwxr-xr-x | bin/unicorn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/unicorn b/bin/unicorn index 73bff3a..86c938b 100755 --- a/bin/unicorn +++ b/bin/unicorn @@ -53,8 +53,8 @@ opts = OptionParser.new("", 24, ' ') do |opts| rackup_opts[:set_listener] = true end - opts.on("-E", "--env ENVIRONMENT", - "use ENVIRONMENT for defaults (default: development)") do |e| + opts.on("-E", "--env RACK_ENV", + "use RACK_ENV for defaults (default: development)") do |e| ENV["RACK_ENV"] = e end |