Al Baker wrote in post #1084630:
>
> lines = File.readlines(ARGV[0])
>

1) Do you know what ARGV contains?
2) What name did you enter for ARGV[0]
3) What is in the file with the name given in 2)?

-- 
Posted via http://www.ruby-forum.com/.