randym / axlsx

xlsx generation with charts, images, automated column width, customizable styles and full schema validation. Axlsx excels at helping you generate beautiful Office Open XML Spreadsheet documents without having to understand the entire ECMA specification. Check out the README for some examples of how easy it is. Best of all, you can validate your xlsx file before serialization so you know for sure that anything generated is going to load on your client's machine.
MIT License
2.62k stars 696 forks source link

New gem release include ruby 2.2 and rubyzip compat fixes #376

Open xaviershay opened 9 years ago

xaviershay commented 9 years ago

The current gem release is broken for everyone using a modern environment, and as such we have to run off git master.

Please do consider releasing a new gem soon :)

Cheers, Xavier

jurriaan commented 9 years ago

Hi @xaviershay, I've just released a pre-release version. (v2.1.0.pre) Please test it and report if you have any problems

g3d commented 9 years ago

Got problem with opening file in MS Excel for Mac, Libreoffice opens file without problem.

File: https://www.dropbox.com/s/8kx4q9yvoysrlqt/students-invalid.xlsx?dl=0

Tried with and without use_shared_strings option. Got the same result.

screen_shot_2015-03-26_at_6 51 29_pm

nodo commented 9 years ago

same problem as @g3d

nodo commented 9 years ago

looks like I was using the wrong version. Using:

gem 'axlsx', '~> 2.0'

Solved the issue.

silviorelli commented 9 years ago

Same problem for me, I tried with 2.0.1, 2.1.0.pre and directly with the repo at the last commit. I'm on Rails 4.2.1 and Ruby 2.2.1.

I've seen from older closed issues that the same problem happened in the past and was due to the zip compression: the last gem installs rubyzip 1.1.7 but this does not solve the problem.

tranngocsam commented 9 years ago

I'm having problem using this gem with rubyzip 1.1.7, I don't want to downgrade rubyzip, because I want to use the latest version of roo gem

xaviershay commented 9 years ago

Apologies I missed the update here. We're no longer using this gem (were able to remove the feature).

noniq commented 4 years ago

There's now https://github.com/caxlsx/caxlsx where we have released 3.0.0, 3.0.1, and even 2.0.2 containing a backport for the rubyzip dependency problem.