about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 5688aa9..8e9bd66 100644
--- a/README
+++ b/README
@@ -31,7 +31,7 @@ Clogger may be loaded as Rack middleware in your config.ru:
   require "clogger"
   use Clogger,
       :format => Clogger::Format::Combined,
-      :logger => File.open("/path/to/log", "ab")
+      :logger => ::File.open("/path/to/log", "ab")
   run YourApplication.new
 
 If you're using Rails 2.3.x or later, in your config/environment.rb
@@ -39,7 +39,7 @@ somewhere inside the "Rails::Initializer.run do |config|" block:
 
   config.middleware.use 'Clogger',
       :format => Clogger::Format::Combined,
-      :logger => File.open("/path/to/log", "ab")
+      :logger => ::File.open("/path/to/log", "ab")
 
 == VARIABLES