javanthropus / archive-zip

A simple Ruby-esque interface to creating, extracting, and updating ZIP archives in 100% Ruby.
https://rubygems.org/gems/archive-zip
MIT License
83 stars 10 forks source link

Doesn't appear to work on Rails 3.0.7 #4

Closed nullbio closed 13 years ago

nullbio commented 13 years ago

require 'archive/zip' throws:

LoadError: no such file to load -- readbytes

Any idea how I can get this to work?

Version 3.0.7

Tried in rails console, irb, and in my app. All throws same error. Tried on two machines (one XP and one win7).

javanthropus commented 13 years ago

This is actually covered in the first part of issue #3. The problem is that the readbytes library was removed in Ruby 1.9. I've checked in a fix for this, but I haven't made a new release yet. I'll try to push out what I have this weekend, but feel free to fork this project and see if there are any other problems you run into installing from the master branch.

nullbio commented 13 years ago

Take your time, I'm in no hurry :) If I have time I'll fork the repo.