【发布时间】:2012-03-21 12:13:19
【问题描述】:
我正在使用 rails 3.2,当我尝试推送到 heroku 时收到错误消息:
git push heroku master
Counting objects: 496, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (435/435), done.
Writing objects: 100% (496/496), 5.17 MiB | 249 KiB/s, done.
Total 496 (delta 125), reused 216 (delta 8)
-----> Heroku receiving push
-----> Removing .DS_Store files
! Heroku push rejected, no Cedar-supported app detected
To git@heroku.com:lumeo.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:lumeo.git'
我尝试了本论坛推荐的几种方法,包括清空并重新安装 Gems 以及删除和添加遥控器,但均无济于事。
有什么建议吗?
【问题讨论】:
-
重新初始化 repo 对我有用,这里有详细信息:stackoverflow.com/questions/9305370/…
标签: git