On Mar 3, 12:28 ¨Âí¬ âïôð ¼âïôð®®®Àçíáéì®ãïí÷òïôåº > On Wed, Mar 3, 2010 at 10:19 AM, Albert Schlef <albertsch... / gmail.com> 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... Bah. Use file-temp. gem install file-temp Regards, Dan