title: How can I generate zip file without saving to the disk with Ruby?
body: <p>I have generated many PDF files in memory and I want to compress them into one zip file before sending it as a email attachment. I have looked at Rubyzip and it does not allows me to create a zip file without saving it to disk (maybe I am wrong). </p>
  
  <p>Is there any way I can compress those file without creating a temp file?</p>