caxlsx / caxlsx_rails

A Rails plugin to provide templates for the axlsx gem
MIT License
744 stars 84 forks source link

zipruby compatibility #60

Closed mikeLspohn closed 8 years ago

mikeLspohn commented 8 years ago

Is there anyway to make this gem work with zipruby? I'm using this gem in a different project and love it, but I'm trying to integrate it into a large existing Rails app, but zipruby is used so I get conflict errors when trying to install rubyzip with zipruby. I'm using Spreadsheet gem in the app now and I'm really missing axlsx-rails.

Does anyone know of any workarounds to this?

mikeLspohn commented 8 years ago

Looking more into this, it seems like this is probably an issue for the axlsx gem itself.

straydogstudio commented 8 years ago

Yes it would have to do with Axlsx, not axlsx_rails. I'm not familiar with the locations in Axlsx that rubyzip is used. But, it might be possible to monkey patch Axlsx for zipruby. It depends on how rubyzip is used.