Hi,

You cannot delete a line from a file. But you can overwrite the file and 
skip this line.

If the file isn't too big, you may also read it completely, delete the 
line from the resulting string and then write the string to the file 
again.

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