roo-rb / roo

Roo provides an interface to spreadsheets of several sorts.
MIT License
2.78k stars 503 forks source link

CSV dont open when using Ruby 3.0.1 #560

Open aluisioalves123 opened 3 years ago

aluisioalves123 commented 3 years ago

Thanks for filing an issue. Following these instructions will help us solve your problem sooner.

Steps to reproduce

Im trying to open a csv file using the Roo::Spreadsheet.open, before I updated my ruby version to 3.0.1 it was working fine, but after that it is returning me this error:

TypeError: no implicit conversion of Hash into String from /home/aluisio/.rbenv/versions/3.0.1/lib/ruby/3.0.0/csv.rb:1421:in `initialize'

Roo version: 2.8.0

Ruby version: 3.0.1

taichi-ishitani commented 3 years ago

I think this is same with #551.