From: "Jan E." Date: 2012-08-11T22:28:18+09:00 Subject: Re: Delete a lines from a files 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/.