From ebcd6658d92180a582f9d877fc8d6ec705545b69 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 6 Nov 2009 21:07:13 -0800 Subject: unicorn.1: document RACK_ENV changes in 0.94.0 --- Documentation/unicorn.1.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/unicorn.1.txt b/Documentation/unicorn.1.txt index 3cea079..7077690 100644 --- a/Documentation/unicorn.1.txt +++ b/Documentation/unicorn.1.txt @@ -138,6 +138,10 @@ All unrecognized values for RACK_ENV are assumed to be "none". Production deployments are strongly encouraged to use "deployment" or "none" for maximum performance. +As of Unicorn 0.94.0, RACK_ENV is exported as a process-wide environment +variable as well. While not current a part of the Rack specification as +of Rack 1.0.1, this has become a de facto standard in the Rack world. + Note that the Rack::ContentLength and Rack::Chunked middlewares are never loaded by default. If needed, they should be individually specified in the RACKUP_FILE, some frameworks do @@ -145,6 +149,7 @@ not require them. # ENVIRONMENT VARIABLES +The RACK_ENV variable is set by the aforementioned \-E switch. All application or library-specific environment variables (e.g. TMPDIR) may always be set in the Unicorn CONFIG_FILE in addition to the spawning shell. When transparently upgrading Unicorn, all environment variables -- cgit v1.2.3-24-ge0c7