gilt/rubyXL — Issue #4: Can't open a xlsm file
Author: prathe
Created: 2011-10-26 18:30:39+00:00
State: open

I've tried to open a file with macros:

workbook = RubyXL::Parser.parse('/Users/me/myfile.xlsm')

I got this error:

/Users/me/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:325:in `read': Is a directory - ./2011_10_26_14_17_38_0400/xl/drawings/_rels (Errno::EISDIR)
from /Users/prathe/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:325:in `block in decompress'
from /Users/prathe/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:324:in `each'
from /Users/prathe/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:324:in `each_with_index'
from /Users/prathe/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:324:in `decompress'
from /Users/prathe/.rvm/gems/ruby-1.9.2-p290/gems/rubyXL-1.1.10/lib/rubyXL/parser.rb:38:in `parse'
from xls.rb:11:in `

'

I'm using version 1.1.10 of the gem.

› ruby --version
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.1]