Using rubyzip dependent gem like 'axlsx' leads to LoadError (cannot load such file -- zip/zip)

Posted . Visible to the public.

The 'axlsx' gem (https://github.com/randym/axlsx) depends on rubyzip. After the bundle command the error require': cannot load such file -- zip/zip (LoadError) appeared by starting the rails server.

Possible solution: Add gem 'zip-zip' to your Gemfile and it works.

fl9
Last edit
fl9
Tags
Posted by fl9 to NinjaConcept KB (2015-02-11 16:03)