我已經嘗試手動clearing and setting the buildpack爲我的Rails應用程序heroku/rails。我覈實,我有一個Gemfile中,我仍然得到這個錯誤Heroku Toolbelt無法檢測到一套buildpack
remote: -----> Using set buildpack heroku/ruby
remote:
remote: ! Push rejected, failed to detect set buildpack heroku/ruby
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected
,因爲我設置buildpack,但隨後無法檢測到它這是令人困惑的。我的一些路由呈現json,因爲我希望這個應用可以作爲後端API。我需要爲Node添加一個buildpack嗎?還有其他建議嗎?