【问题标题】:heroku push rejected no-cedar-supported app detected检测到 heroku push 拒绝了不支持雪松的应用程序
【发布时间】:2014-05-09 17:26:31
【问题描述】:

尝试在 Windows 7 中将我的应用部署到 heroku。我尝试过:

Rails 3.2: Heroku push rejected, no Cedar-supported app detected

rm -rf .git
git init
git add .
git commit -am "Reinitialize"
heroku create --stack cedar
git push heroku master

最后一步对我不起作用?:

push rejected, no Cedar-supported app detected

【问题讨论】:

    标签: windows git heroku


    【解决方案1】:

    “不支持 Cedar 的应用程序”意味着您推送的内容不包含任何代码或文件,可以让 Heroku 识别您正在推送的应用程序类型。

    你推送的 git repo 中有什么?

    例如,对于 Ruby 应用程序,you need a Gemfileother languages 有类似的要求。

    在这里,这是相当明显的。您正在推送一个空的 git 存储库。所以它不能神奇地创建一个应用程序或知道如何处理它:-D

    【讨论】:

      猜你喜欢
      • 2013-03-08
      • 2013-02-03
      • 1970-01-01
      • 1970-01-01
      • 2014-09-23
      • 2013-09-07
      • 1970-01-01
      • 2012-01-11
      • 2016-01-27
      相关资源
      最近更新 更多