IIRC, I had problems with ruby-zip in one of my apps too (i know i had to look for other option, but i can’t remember why), I just switched over to the shell with the zip and unzip command (just put everything in a temp folder, then zip it using the shell). Runs smoother and faster than ruby-zip.
Best regards
Peter De Berdt