about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/unicorn.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index 396b8e3..0f2b597 100644
--- a/lib/unicorn.rb
+++ b/lib/unicorn.rb
@@ -3,7 +3,6 @@
 require 'fcntl'
 require 'unicorn/socket_helper'
 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
@@ -114,6 +113,8 @@ module Unicorn
     # for examples.
     class Worker < Struct.new(:nr, :tmp)
 
+      autoload :Etc, 'etc'
+
       # worker objects may be compared to just plain numbers
       def ==(other_nr)
         self.nr == other_nr