gpt4 book ai didi

ruby-on-rails - 为什么 Heroku 拒绝这个 git push?

转载 作者:数据小太阳 更新时间:2023-10-29 07:30:56 26 4
gpt4 key购买 nike

我使用 Heroku create 在我当前的应用程序目录中创建了一个新的 Heroku 应用程序并运行了这个:

MyMac:bodb pawel$ git push heroku master
Counting objects: 359, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (291/291), done.
Writing objects: 100% (359/359), 13.83 MiB | 2 KiB/s, done.
Total 359 (delta 40), reused 0 (delta 0)

! 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:myproject.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:myproject.git'

我的 Rails 应用程序在 Ruby 1.8.7 上运行,但即使是 --stack bamboo-ree-1.8.7 上的 Heroku 应用程序也会失败。

我还运行了 bundle install 并且我的 Gemfile 是最新的。

最佳答案

我不知道为什么提交被破坏了,但是联系了 Heroku,他们解决了这个问题。

关于ruby-on-rails - 为什么 Heroku 拒绝这个 git push?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7688262/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com