From: Nobuyoshi Nakada Date: 2007-07-23T10:55:58+09:00 Subject: Re: Problem with File.exists? giving an incorrect result Hi, At Sun, 22 Jul 2007 19:21:19 +0900, Chris Dwan wrote in [ruby-talk:261241]: > this is on Windows, so maybe the OS is to blame? > Here's the code, if it helps.. > > $debug_log.fatal("does file exist? :: #{ibl}") > if File.exist?(ibl) > $debug_log.fatal("YES - it most certainlyt does!") > iblLocation = ibl > else > #find the file and set iblLocation > end > File.read(iblLocation) # << bombs here What are the actual exception you get, and the version? And $debug_log shows "YES - ..."? -- Nobu Nakada