ruby - 混帐,Heroku : pre-receive hook declined

标签 ruby git heroku rack

我正在设置一个 git 存储库并尝试将其链接到 Heroku。当我运行命令时

git push heroku master

我收到了

Counting objects: 7, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (7/7), 714 bytes, done.
Total 7 (delta 1), reused 0 (delta 0)

-----> Heroku receiving push

 !     Heroku push rejected due to an unrecognized error.
 !     We've been notified, see http://support.heroku.com if the problem persists.


To git@heroku.com:morning-stream-3712.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:morning-stream-3712.git'

我不太确定还有哪些其他信息会有所帮助,哪些只会混淆水域,所以我暂时就此打住。将我的应用程序推送到 Heroku 的任何帮助将不胜感激。谢谢。

最佳答案

确保您正在推送一个包含适当支持的应用程序(Rails、Django 等)的存储库,而不仅仅是推送一些随机存储库来测试它。

Newbie in Heroku: Error when push my app to Heroku

如果不是这种情况,并且您推的是您认为有效的应用程序,请联系 Heroku 支持,他们会为您修复。

关于ruby - 混帐,Heroku : pre-receive hook declined,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8216586/

相关文章:

ruby - 当使用 ruby​​ 定义一系列键时,将所有键值作为组合字符串获取

git - 在 Git 中跨多个分支区分单个文件

spring - Heroku 应用程序拒绝启动,因为它无法加载 kotlin.jvm.internal.Intrinsics

ruby-on-rails - Heroku 上的 Node.js : PostgreSQL on prod, SQLite3 on dev?

python - Heroku 找不到 Django 模板

ruby - Ruby如何命名嵌套类的父类

ruby-on-rails - 为什么要用符号呢?

git - 为什么 git 将我的分支名称前缀大写?

ruby - 如何在 ruby​​ 脚本中重新加载 .profile

git - 为 GitHub pull 请求更改 "base repo"