diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-08-15 02:43:49 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-08-15 02:43:49 -0700 |
commit | 4cecac01518c6d48f749a34d4f56842429c2ccbc (patch) | |
tree | cebfa3e8af2394615f08ce291a7dd09ea6614b3b /bin | |
parent | baa0709812a6204686228c1fb9be1df69045383f (diff) | |
download | unicorn-4cecac01518c6d48f749a34d4f56842429c2ccbc.tar.gz |
Rack is autoload-based and so are we.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/unicorn | 1 | ||||
-rwxr-xr-x | bin/unicorn_rails | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/bin/unicorn b/bin/unicorn index cfc81da..8847e81 100755 --- a/bin/unicorn +++ b/bin/unicorn @@ -120,7 +120,6 @@ require 'pp' if $DEBUG app = lambda do || # require Rack as late as possible in case $LOAD_PATH is modified # in config.ru or command-line - require 'rack' inner_app = case config when /\.ru$/ raw = File.open(config, "rb") { |fp| fp.sysread(fp.stat.size) } diff --git a/bin/unicorn_rails b/bin/unicorn_rails index a0035f4..1fbc0e2 100755 --- a/bin/unicorn_rails +++ b/bin/unicorn_rails @@ -140,7 +140,6 @@ app = lambda do || end if old_rails - require 'rack' require 'unicorn/app/old_rails' Unicorn::App::OldRails.new else |