From: Marc Heiler Date: 2008-06-26T03:00:41+09:00 Subject: Re: Deleting a line in a file There are many ways to solve this. One I use often (which is not very elegant but rather easy) is to use File.readlines on your file, find the line in that array to kill it, and save the array to a file finally again. BTW what do you mean with "empty space"? I guess it will be easy if you make a small file as example :) -- Posted via http://www.ruby-forum.com/.