我試圖運行加入這一行Procfile自帶sunspot_solr寶石捆綁Solr的:即使我有正確的Procfile,爲什麼我會得到「Procfile聲明類型 - >(無)」?
solr: bundle exec rake sunspot:solr:start
Procfile拼寫與一個小「F」,在我的Rails根目錄中。
我還沒有能夠得到在我的procfile上提到的任何進程在heroku上運行。
我檢查有關同一主題的問StackOverflow上的其他問題,所以不要點我有:
What is the reason for "Procfile declares types -> (none)" in Heroku?
Procfile declares types -> (none) in Heroku
爲了使這個問題成爲一個完整的問題,其他人不必去尋找信息,您檢查了哪些「其他問題」?是你的配置文件[命名'Procfile'與小寫'f'](http://stackoverflow.com/questions/6346221/what-is-the-reason-for-procfile-declares-types-none-in- Heroku的)?您是否已經成功推送到heroku,然後使用能夠正確運行其他事情的Procfile?是你的Procfile [在你的項目的基礎上,在與requirements.txt相同的水平](http://stackoverflow.com/questions/11537501/procfile-declares-types-none-in-heroku)? – culix
感謝culix,我已經更新了我的問題。 – vinayvinay
謝謝!當我們有更多的信息時,它總是更容易幫助:) – culix