diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-06 21:07:13 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-06 21:07:13 -0800 |
commit | ebcd6658d92180a582f9d877fc8d6ec705545b69 (patch) | |
tree | 97497aa06af76d79fab8eab32e74bb95a171d45d /Documentation/unicorn.1.txt | |
parent | bb3c32a246b29929e845d96ebba0d8a31dd8054d (diff) | |
download | unicorn-ebcd6658d92180a582f9d877fc8d6ec705545b69.tar.gz |
Diffstat (limited to 'Documentation/unicorn.1.txt')
-rw-r--r-- | Documentation/unicorn.1.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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 |