【发布时间】:2014-01-22 01:59:45
【问题描述】:
我刚刚在 heroku 上注册并尝试向应用程序添加第一个静态 html 页面。我按照确切的程序克隆了 repo,现在尝试添加文件,但不断收到此消息:
! Push rejected, no Cedar-supported app detected
To git@heroku.com:pak-attacks.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:my-project-saif.git'
有人对正在发生的事情或需要做什么有任何想法吗?非常感谢。
【问题讨论】:
-
但我没有任何 gem 文件.. 我只有一个要推送的 html 页面。我需要一个 gemfile 吗?
-
不,我的意思更多的是链接答案的一般概念:“我认为在这里概括其他答案,当您收到此错误时,这是因为 Heroku 缺少一些用于识别的关键文件您的应用程序(及其类型)”。不过,不确定您的案例中缺少的具体文件。