Trying to use rubyzip to add comments to a zip file that I’m otherwise not modifying at all.
zf = Zip::ZipFile.open 'Archive.zip'
zf.comment = "blah blah blah"
I’ve tried zf.close and zf.commit with no luck. I’m reading through the docs, but I can’t seem to find the solution.
Anybody done this before?
Upgrade to RubyZip 0.9.7 (released today), which fixes this bug.