Has anyone had any luck creating password protected zip files in rails?
I spent a bunch of hours trying to get Chilkat\'s 64 bit linux gem working on OSX. I got it l
Now, it is possible using RubyZip library. Note, as of now, it's marked as "Experimental". But, it works. Also note, AES Encryption is not yet supported.
https://github.com/rubyzip/rubyzip#password-protection-experimental
Have you tried ZipRuby? It seems to have an encryption method.
Zip::Archive.encrypt('filename.zip', 'password')
Sorry haven't tried it myself so can't be absolutely sure.