|author||Eric Wong <firstname.lastname@example.org>||2010-05-06 19:21:25 +0000|
|committer||Eric Wong <email@example.com>||2010-05-06 19:31:56 +0000|
Starting with this release, we'll always load Rack up front at startup. Previously we had complicated ways to avoid loading Rack until after the application was loaded to allow the application to load an alternate version of Rack. However this has proven too error-prone to be worth supporting even though Unicorn does not have strict requirements on currently released Rack versions. If an app requires a different version of Rack than what Unicorn would load by default, it is recommended they only install that version of Rack (and no others) since Unicorn does not have any strict requirements on currently released Rack versions. Rails 2.3.x users should be aware of this as those versions are not compatible with Rack 1.1.0. If it is not possible to only have one Rack version installed "globally", then they should either use Isolate or Bundler and install a private version of Unicorn along with their preferred version of Rack. Users who install in this way are recommended to execute the isolated/bundled version of Unicorn, instead of what would normally be in $PATH. Feedback/tips to mailto:firstname.lastname@example.org from Isolate and Bundler users would be greatly appreciated.
2 files changed, 2 insertions, 2 deletions
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index 820b05c..7848366 100755
@@ -1,7 +1,7 @@
diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb
index a843dee..34df718 100644
@@ -7,7 +7,7 @@ module Unicorn
# gave about a 3% to 10% performance improvement over using the strings directly.
# Symbols did not really improve things much compared to constants.
DEFAULT_HOST = "0.0.0.0" # default TCP listen host address
DEFAULT_PORT = 8080 # default TCP listen port