Changeset 920

Show
Ignore:
Timestamp:
12/18/07 07:40:17 (9 months ago)
Author:
filipe
Message:

changed File.exists? (that is deprecated) for File.exist? (that exists in ruby1.9 too)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/mongrel/logger.rb

    r918 r920  
    5656        @log.sync = true 
    5757      else 
    58         FileUtils.mkdir_p(File.dirname(log)) unless File.exists?(File.dirname(log)) 
     58        FileUtils.mkdir_p(File.dirname(log)) unless File.exist?(File.dirname(log)) 
    5959        @log = open(log, (File::WRONLY | File::APPEND | File::CREAT)) 
    6060        @log.sync = true