From 39bdcadb986e3ca82a243ace90daee28c9d3f1e4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 1 Mar 2010 18:25:08 +0000 Subject: load the Etc module up front It's part of the standard Ruby library and will always be loaded by various modules (Rack::Utils, Tmpdir) so there's no point in deferring it. --- lib/unicorn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/unicorn.rb b/lib/unicorn.rb index 2a2f54e..b63abeb 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -2,8 +2,8 @@ require 'fcntl' require 'unicorn/socket_helper' +require 'etc' autoload :Rack, 'rack' -autoload :Etc, 'etc' # Unicorn module containing all of the classes (include C extensions) for running # a Unicorn web server. It contains a minimalist HTTP server with just enough -- cgit v1.2.3-24-ge0c7