If you want to be able to access them without problems, you have to compress the folder using Ruby's Zlib::deflate instead of using WinZip or something like that. I'm not sure how well Ruby can work with actual Zip files rather than just compressed streams.