Sebastian Hungerecker
11/4/2007 10:44:00 AM
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