From: Sebastian Hungerecker Date: 2007-11-04T19:43:50+09:00 Subject: Re: 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. HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826