-
Notifications
You must be signed in to change notification settings - Fork 14
Added require 'iconv' before you call before you call Excel.new #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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 [email protected]:
|
Could this be a roo version issue? On Wed, Oct 31, 2012 at 2:42 PM, Nicholas Klick [email protected]:
|
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 [email protected]:
|
This allows excel2csv to work. See roo related discussion here: https://github.com/hmcgowan/roo/issues/13