I am trying to learn ruby, so i wrote some simple scripts.
But the following script does not work as expected:
while gets != nil
if i call ‘echo.rb’ (without any parameters) from my cygwin shell, the
scripts does what i expect it to do. It reads and returns the input.
But if i call it with any parameters, like
i get a error message saying : ‘… `gets’: No such file or directory -
Does anybody understand this ?