From: Raimon Fs Date: 2009-05-22T06:31:11+09:00 Subject: Re: creating a zip file using rubyzip Brian Candler wrote: > Raimon Fs wrote: >> puts zf.file.read(file_path) > > This is asking to read a file out of the zip file - and as it says, > there is no such file, as you've only just created the empty zip file. yes, you're right, I thought it was reading the file and at the same time adding it ... In the documentation I have found .add add(entry, srcPath, &continueOnExistsProc) and now works .... thanks, r. -- Posted via http://www.ruby-forum.com/.