fastercsv error with ruby 1.9.2

前端 未结 2 639
后悔当初
后悔当初 2021-01-03 21:15

I have an existing rails application I\'m running on ruby 1.9.2 and linux its rails version is

rails 2.3.8

and it has a GEMFILE as well, i

2条回答
  •  伪装坚强ぢ
    2021-01-03 22:03

    I found the answer to my question

    Its based on this post

    What is Ruby 1.9 standard CSV library?

    and as the solution i had to

    require 'csv'
    

    instead of

    require 'fastercsv'
    

    and change the FasterCSV to CSV

提交回复
热议问题