title: rubyZip Gem: Want to zip remote files in RoR
body: <p>I want to download photos from my website after zipping. I am using rubyZip gem but unable to zip remote files. Following is the scenario:</p>
  
  <p>I am trying to zip content from server. Content is something like this</p>
  
  <p><a href="http://myApplication.s3.amazonaws.com/xxxxxxxx/image/image1.jpeg" rel="noreferrer">http://myApplication.s3.amazonaws.com/xxxxxxxx/image/image1.jpeg</a>, </p>
  
  <p>So in "zipfile.add( attachment.document_file_name, attachment.document.url)", i assigned following values:</p>
  
  <p>document_file_name = image1.jpeg/image2.jpeg/image3.jpeg
  document.url = <a href="http://myApplication.s3.amazonaws.com/xxxxxxxx/image" rel="noreferrer">http://myApplication.s3.amazonaws.com/xxxxxxxx/image</a></p>
  
  <p>Now here I am getting following error:</p>
  
  <p>No such file or directory - myApplication.s3.amazonaws.com/xxxxxxxx/image</p>
  
  <p>This gem is working fine if I zipped files from local file system (e.g: /home/user/images) but not for remote files.</p>
  
  <p>Is I am doing something wrong? Can someone help me out?  Or any other gem which can do this?</p>
  
  <p>Thanks,
  -Tahniyat</p>