Hello everyone I am using rubyzip gem for zipping files.
Zipping local files are good and except zipping remote files. Example(my code): save_path="xxx/xx" image_list = ["http://xxxx.xx.image.jpg","http://xxxx.xx.image.jpg"] Zip::ZipFile.open(save_dir, Zip::ZipFile::CREATE) { |zipfile| image_list.each do |image| zipfile.add(image, save_pathr + '/' + image) end } I am gettting error as *"No such file or directory - http://xxxx.xx.image.jpg"* * * how can zip my remote files? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/e61F3H1gXQEJ. For more options, visit https://groups.google.com/groups/opt_out.

