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

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 About 9 years ago