Closed kanayo closed 3 years ago
I get an error using CSV with write converters and ruby 2.5.8:
ArgumentError: unknown keyword: write_converters
When I look at the docs for 2.5.7 & 2.5.8:
https://ruby-doc.org/stdlib-2.5.8/libdoc/csv/rdoc/CSV.html https://ruby-doc.org/stdlib-2.5.7/libdoc/csv/rdoc/CSV.html
2.5.7 has write converters but 2.5.8 and 2.5.9 don't.
and in 2.6, write_converters is back:
https://ruby-doc.org/stdlib-2.6/libdoc/csv/rdoc/CSV.html
Wouldn't be a problem to upgrade to 2.6, except using jruby and the current 9.2 version uses 2.5
Found a solution, added
gem 'csv'
to bundle to get a newer version.
I get an error using CSV with write converters and ruby 2.5.8:
ArgumentError: unknown keyword: write_converters
When I look at the docs for 2.5.7 & 2.5.8:
https://ruby-doc.org/stdlib-2.5.8/libdoc/csv/rdoc/CSV.html https://ruby-doc.org/stdlib-2.5.7/libdoc/csv/rdoc/CSV.html
2.5.7 has write converters but 2.5.8 and 2.5.9 don't.
and in 2.6, write_converters is back:
https://ruby-doc.org/stdlib-2.6/libdoc/csv/rdoc/CSV.html
Wouldn't be a problem to upgrade to 2.6, except using jruby and the current 9.2 version uses 2.5