how to run a simple file on heroku

后端 未结 5 1968
庸人自扰
庸人自扰 2021-02-05 13:46

say I\'ve got my rails app on github and am deploying the github repo on heroku.

I\'ve got a situation where I have a simple text file with bunch of words (it is in my g

5条回答
  •  情深已故
    2021-02-05 14:07

    If you want to run arbitrary local Ruby files on Heroku, check out the blog post at

    http://www.22ideastreet.com/debug/run-local-scripts-on-heroku

    There are some things to watch out for (long run times, etc.) but it might be useful if you have a file that you haven't checked in that you want to test or run on a Heroku instance.

提交回复
热议问题