From: Daniel Brumbaugh Keeney Date: 2008-03-11T09:03:38+09:00 Subject: Re: Getting files out of a .tar.gz archive On Mon, Mar 10, 2008 at 7:01 PM, Daniel Brumbaugh Keeney wrote: > tgz = Zlib::GzipReader.new(File.open('test.tgz', 'rb')) > # Warning: tgz and the file will be closed. I seem to have failed to remove the former comment. It looks like Minitar::Reader at no point closes tgz or the file, and therefore tgz needs to be closed manually afterward, as I my code correctly demonstrated, though the comment did not. Daniel Brumbaugh Keeney