From: botp Date: 2010-03-03T16:28:27+09:00 Subject: Re: A gem for handling temporary file(s)? On Wed, Mar 3, 2010 at 10:19 AM, Albert Schlef wrote: > I'm writing a program that needs to generate two or three temporary > files. > > (Specifically: my program runs a shell command and I need to pass the > shell command a path to a non-existing file which it will dump data to.) man mktemp man tempfile > Is there a 'gem' that manages these things? Preferably it should remove > the files when the script finishes or whatever. it is builtin in ruby. but in this case, you'd better do it all in ruby... best regards -botp