简体   繁体   English

在铁轨上定义Heroku救援人员

[英]defining heroku rescue workers in rails

In the heroku rescue tutorial (https://devcenter.heroku.com/articles/queuing-ruby-resque), it says to put the following line in the Procfile. 在heroku救援教程(https://devcenter.heroku.com/articles/queuing-ruby-resque)中,它表示将以下行放入Procfile中。 However, this is for ruby, I'm assuming. 但是,我假设这是红宝石。

resque: env TERM_CHILD=1 bundle exec rake jobs:work

Where would I put this line in ruby on rails? 我将把这条线放在红宝石上的哪里?

Thank you! 谢谢!

Just create a Procfile file in your RoR project. 只需在RoR项目中创建Procfile文件。 Then add that line of code there. 然后在那里添加那行代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM