【问题标题】:Heroku push rejected no Cedar-supported app detectedHeroku push 拒绝了没有检测到 Cedar 支持的应用程序
【发布时间】:2013-03-08 02:42:22
【问题描述】:

我有这个常见的 heroku 错误 ! Heroku push rejected, no Cedar-supported app detected 在以下执行后尝试推送:

git init
git add .
git commit -a -m "First commit"
heroku create
git push heroku master

我看到了很多特定于 Ruby on Rails 项目的错误,我只想推送一个 PHP 项目,现在我只是想推送一个简单的 index.html 文件

我也试过了

git init
git add .
git commit -a -m "First commit"
heroku create --stack cedar
git push heroku master

但我遇到了同样的问题......我错过了什么?

【问题讨论】:

    标签: heroku heroku-toolbelt


    【解决方案1】:

    尝试将其重命名为index.php,这会将其检测为 PHP 应用程序。

    【讨论】:

      猜你喜欢
      • 2013-02-03
      • 2013-09-07
      • 2014-09-23
      • 1970-01-01
      • 1970-01-01
      • 2012-03-07
      • 2012-01-11
      • 2014-04-22
      • 2012-12-05
      相关资源
      最近更新 更多