Rails 3.2:Heroku推送被拒绝,没有检测到Cedar支持的应用程序 [英] Rails 3.2: Heroku push rejected, no Cedar-supported app detected

查看:103
本文介绍了Rails 3.2:Heroku推送被拒绝,没有检测到Cedar支持的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Rails新手在这里。我试图将我的Rails 3.1 / Ruby 1.9.3-p0应用程序部署到Heroku,并按照Heroku的步骤执行了所有步骤。但我一直在:

Heroku推送被拒绝,没有检测到Cedar支持的应用程序

我试过了这个问题中的所有建议,但迄今为止不成功。

解决方案

我遇到过类似的拒绝。对我来说有效的是重新初始化.git文件。



在命令行尝试:

  rm -rf .git 
git init
git add。
git commit -amReinitialize
heroku create --stack cedar
git push heroku master


Rails newbie here. I'm trying to deploy my Rails 3.1/Ruby 1.9.3-p0 app to Heroku and have followed all the steps according to Heroku. But I keep running into:

Heroku push rejected, no Cedar-supported app detected

I've tried all the suggestions in this question but so far unsuccessful.

解决方案

I have encountered a similar rejection. What worked for me was reinitializing the .git file.

Try in the command line:

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

这篇关于Rails 3.2:Heroku推送被拒绝,没有检测到Cedar支持的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆