heroku推送拒绝检测到无雪松支持的应用

时间:2014-05-09 01:05:58

标签: windows git heroku

尝试在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

1 个答案:

答案 0 :(得分:0)

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

你推的git repo是什么?

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

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

相关问题