From: Jim Freeze Date: 2006-06-12T03:21:18+09:00 Subject: gets problem - strange --Apple-Mail-14--55822140 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed This is a problem that was pointed out by Esteban Velazquez. % cat gets2.rb #!/usr/bin/ruby print "getting "; puts gets Sending the app arguments returns an error: % ruby gets2.rb fred gets2.rb:3:in `gets': No such file or directory - fred (Errno::ENOENT) from gets2.rb:3 But, with no arguments, it runs ok. % ruby gets2.rb getting foo foo The problem is eluding me now. Any help would be appreciated. Jim Freeze --Apple-Mail-14--55822140--