Added require 'iconv' before you call before you call Excel.new#1
Added require 'iconv' before you call before you call Excel.new#1nicholasklick wants to merge 1 commit intoscpike:masterfrom nicholasklick:master
Conversation
|
This should only be required when on ruby < 1.9. Can you wrap the require? Something like: I get a warning about deprecated iconv on 1.9.3 otherwise. |
|
Sure. But I am using ruby-1.9.3 not 1.8.7. Without the IConv require I get this with 1.9.3: ~/.rvm/gems/ruby-1.9.3-p194/gems/roo-1.10.1/lib/roo/excel.rb:284:in On Wed, Oct 31, 2012 at 2:37 PM, Stephen Pike notifications@github.comwrote:
|
|
Could this be a roo version issue? On Wed, Oct 31, 2012 at 2:42 PM, Nicholas Klick nicholas.klick@gmail.comwrote:
|
|
We're both using roo 1.10.1. I'm on 1.9.3 as well, and have no problem without the Are you using rvm (I am)? Some more info from my working environment: |
|
Looks like we have the same setup. 1.9.3 on RVM. I will dig into this and get back to you. Nicholas$ bundle list
rvm rubies ruby-1.9.2-p320 [ x86_64 ] On Wed, Oct 31, 2012 at 2:51 PM, Stephen Pike notifications@github.comwrote:
|
This allows excel2csv to work. See roo related discussion here: https://github.com/hmcgowan/roo/issues/13