【发布时间】:2012-08-31 07:06:50
【问题描述】:
我正在尝试通过将这一行添加到 Procfile 来运行 sunspot_solr gem 附带的捆绑 solr:
solr: bundle exec rake sunspot:solr:start
Procfile 用一个小“f”拼写,存在于我的 Rails 根目录中。
我还不能让我的 Procfile 中提到的任何进程在 heroku 上运行。
我已经检查过 StackOverflow 上与同一主题相关的其他问题,所以不要指向我那里:
What is the reason for "Procfile declares types -> (none)" in Heroku?
【问题讨论】:
-
为了使这个问题成为一个完整的问题,其他人不必去寻找信息,您检查了哪些“其他问题”?您的个人资料是named
Procfilewith a lower-case 'f' 吗?您之前是否使用可以正常运行其他东西的 Procfile 成功推送到 heroku?你的 Procfile 是 at the base of your project, at the same level as requirements.txt 吗? -
感谢 culix,我已经更新了我的问题。
-
谢谢!当我们有更多信息时,总是更容易提供帮助:)
-
输入
foreman check会得到什么?它应该说类似valid procfile detected (solr) -
明白了。
$ foreman check valid procfile detected (solr)
标签: heroku sunspot foreman cedar