What zip library works well with Ruby 1.9.2?
Asked Answered
L

3

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.

What zip libraries work well with Ruby 1.9.2?

Laurielaurier answered 5/5, 2011 at 3:41 Comment(0)
A
4

Have you actually tried using rubyzip with 1.9.2? Seems to work fine for me:

>> RUBY_VERSION 
#=> "1.9.2"
>> require 'zip/zip' 
#=> true
>> Zip::ZipFile.foreach(File.expand_path("~/Downloads/Archive.zip")) { |f| p f } 
#=> [bartxt, footxt]
bar.txt
foo.txt
Agnosticism answered 5/5, 2011 at 9:1 Comment(0)
M
1

I used rubyzip gem in Ruby 1.8.7 also. For Ruby 1.9.x you need to use version 0.9.5 or higher. Works without any problems.

Markova answered 11/12, 2012 at 18:44 Comment(0)
A
0

I found zip it says it's compatible with 1.9.1 I don't think it would have any issues in 1.9.2

Abernathy answered 5/5, 2011 at 4:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.