Rails - Creating temp files in a portable way

前端 未结 2 1560
情话喂你
情话喂你 2021-02-01 17:31

My rails application runs on a Ubuntu server machine.

I need to create temporary files in order to \"feed\" them to a second, independent app (I\'ll be using rake tasks

2条回答
  •  有刺的猬
    2021-02-01 18:00

    Rails apps also have their own tmp/ directory. I guess that one is always available and thus a good candidate to use and keep your application portable.

提交回复
热议问题