I'm generating a zip file from a collection of images which is then sent to the user.
I'm using code which is almost exactly the same as the example given on this page;
http://info.michael-simons.eu/2008/01/21/using-rubyzip-to-create-zip-files-on-the-fly/
It works absolutely fine on my local development box, but when I run it on my staging server, I get a zero length zipfile which has the following error when I try to open it.
'End-of-central-directory signature not found'
Obviously it's hard to troubleshoot where I'm going wrong when it works fine on my development machine!
Cheers, Graeme