From: ycsunil Date: 2008-02-20T18:05:02+09:00 Subject: Is there a clash between gets and ARGV? Hello all, Here is my small ruby program: if (ARGV[0] == 'add') puts 'input something' gt = gets puts gt else puts 'fail' end If I try to execute above program am getting below error: C:\Documents and Settings\sunilc\Desktop>ruby test.rb 'add' input something test.rb:3:in `gets': No such file or directory - add (Errno::ENOENT) from test.rb:3 Please let me know why is this error coming? -Sunil