From 4cecac01518c6d48f749a34d4f56842429c2ccbc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 15 Aug 2009 02:43:49 -0700 Subject: Remove explicit requires for Rack things Rack is autoload-based and so are we. --- lib/unicorn/app/exec_cgi.rb | 1 - lib/unicorn/app/old_rails/static.rb | 2 -- 2 files changed, 3 deletions(-) (limited to 'lib') diff --git a/lib/unicorn/app/exec_cgi.rb b/lib/unicorn/app/exec_cgi.rb index d0b31f8..138545e 100644 --- a/lib/unicorn/app/exec_cgi.rb +++ b/lib/unicorn/app/exec_cgi.rb @@ -1,5 +1,4 @@ require 'unicorn' -require 'rack' module Unicorn::App diff --git a/lib/unicorn/app/old_rails/static.rb b/lib/unicorn/app/old_rails/static.rb index 51a0017..e3f40bf 100644 --- a/lib/unicorn/app/old_rails/static.rb +++ b/lib/unicorn/app/old_rails/static.rb @@ -3,8 +3,6 @@ # Copyright (c) 2009 Eric Wong # You can redistribute it and/or modify it under the same terms as Ruby. -require 'rack/file' - # Static file handler for Rails < 2.3. This handler is only provided # as a convenience for developers. Performance-minded deployments should # use nginx (or similar) for serving static files. -- cgit v1.2.3-24-ge0c7