rubyzip
What zip library works well with Ruby 1.9.2?
I used the rubyzip gem in Ruby 1.8.7 before, but I heard rubyzip doesn\'t work well with ruby 1.9.2. Wha开发者_StackOverflow中文版t zip libraries work well with Ruby 1.9.2?Have you actually tried usi[详细]
2023-03-03 15:08 分类:问答rubyzip error when generating zips of images on the fly : End-of-central-directory signature not found
I\'m generating a zip file from a collection of images which is then sent to the user. I\'m using code which is almost exactly the same as the example given on this page;[详细]
2023-02-19 10:03 分类:问答rubyzip coaching
Zip::ZipOutputStream.open(folderpath) do |z| z.print IO.read(folderpath) In the code above, I have Zip::ZipOutputStream.ope开发者_开发百科n(file_path) do |z|. I do not understand, what the do |z| me[详细]
2023-02-15 01:18 分类:问答losing data when zipping files
I am using rubyzip on windows to zip up a directory. When I unzip the archive some of the files are smaller than they were.[详细]
2023-02-10 04:49 分类:问答Paperclip processor can't find it's file
Formerly: Running a model method on a paperclip attachment after create or update (paperclip callbacks don\'t seem to work)[详细]
2023-02-06 06:53 分类:问答How to edit docx with nokogiri and rubyzip
I\'m using a combination of rubyzip and nokogiri to edit a .docx file.I\'m using rubyzip to unzip the .docx file and then using nokogiri to parse and change the body of the word/document.xml file but[详细]
2023-01-18 23:24 分类:问答Rubyzip - possible to set extraction folder?
My problem is that I need to set the root extraction folder for a zip-file I\'m generating by using Rubyzip. The zip-file will be opened in Windows as sel开发者_StackOverflowf-extractable. Is this opt[详细]
2022-12-26 09:14 分类:问答Set compression level when generating a ZIP file using RubyZip
I have a Ruby program that zips a directory tree of XML files using the rubyzip gem. My problem is that the file is starting to be heavy and I would like to increase the compression level, since c开发[详细]
2022-12-24 10:51 分类:问答Using rubyzip to add files and nested directories to a zipoutputstream
I\'m struggling with getting rubyzip to append directories to a zipoutputstream. (I want the output stream so I can send it from a rails controller). My code follows this example:[详细]
2022-12-21 05:28 分类:问答How do I find a specific entry inside a zipped directory using the rubyzip gem?
I have a zip file named test.zip which contains a directory named invoice.Inside the invoice directory there are documents each with different names.I would like to find a specific document named summ[详细]
2022-12-13 12:06 分类:问答