You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 !
The text was updated successfully, but these errors were encountered:
Hi,
I came across a problem with eeepub and had an error message looking like :
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 !
The text was updated successfully, but these errors were encountered: