How to export a Ruby Array from my Heroku console into CSV?

后端 未结 10 909
悲&欢浪女
悲&欢浪女 2021-02-02 11:17

I am looking to export an array from my heroku console into a local CSV file.

In my current situation, I have a daily rake task which looks for tweets talking about my a

10条回答
  •  孤独总比滥情好
    2021-02-02 11:22

    I tried Tee as suggested, but for some reason it always got stuck after the output of

    Running `console` attached to terminal... up, run.1
    

    So I ended up emailing the csv content for me in the text format email body. If you already have emailing set up, that can be easy solution too.

提交回复
热议问题