Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of rubyzip #35

Open
Ryngo opened this issue Aug 26, 2014 · 4 comments
Open

Use of rubyzip #35

Ryngo opened this issue Aug 26, 2014 · 4 comments

Comments

@Ryngo
Copy link

Ryngo commented Aug 26, 2014

Hi,
I came across a problem with eeepub and had an error message looking like :

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- zip/zip (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.9.1/gems/eeepub-0.8.1/lib/eeepub/ocf.rb:1:in `<top (required)>'

In fact, it turns out that the last versions of rubyzip need to be called like this :
require 'zip'
instead of this
require 'zip/zip'
as is done in the file /lib/eeepub/ocf.rb, line 1.
This fixed the bug. However I'm not very skilled in Ruby, so I merely post this here.
Hope it can be useful !

@nurettin
Copy link

nurettin commented Sep 8, 2014

Workaround:

gem install zip-zip

@n3f4s
Copy link

n3f4s commented Aug 24, 2016

Hi, I came across the same error. Why is it not fixed (I shouldn't have to use workaround for an error that was reported 2 years ago) ?

@Merovex
Copy link

Merovex commented Nov 17, 2017

I forked this and am using it as a dependency in another gem.

https://github.com/Merovex/eeepub

@harsh183
Copy link

harsh183 commented Jun 1, 2019

Still broken as of today. Add zip-zip to my Gemfile fixed it. This can be fixed by adding it as an dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants