From: Ed Hardy Date: 2008-11-02T08:17:34+09:00 Subject: Re: Another require question Thanks Sebastian, and apologies for recent goof. Again... This single line, file.exist?("c:/xx.txt") or any file.xxx() command, when run, produces in the error window: miscmo.rb:2: undefined local variable or method `file' for main:Object (NameError) I reinstalled in windows using the installer ruby186-26.exe. No improvement. -- Posted via http://www.ruby-forum.com/.