From: Robert Klemme Date: 2007-11-04T20:35:05+09:00 Subject: Re: On 04.11.2007 11:43, sepp2k@googlemail.com wrote: > Terry Poulin wrote: >> I'm clueless as to why I'm getting what looks to me like an Errno::ENOENT >> exception that references the 'PATH' we Net::FTP#chdir'd to four lines ago. >> When all it is doing is calling gets. > > If you specify a command line parameter, Kernel#gets treats that as a file > name and tries to read from that file instead of stdin. If you don't want > that, use STDIN.gets instead of Kernel#gets. I am sorry, but this is plain wrong. http://ruby-doc.org/core/classes/Kernel.html#M005995 robert