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

标签 ruby-on-rails ruby ruby-on-rails-3 heroku

我使用 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/

相关文章:

ruby-on-rails - Rails_admin : Should I have admin_user or user with admin role to manage users and admin panel

ruby-on-rails - 理解强参数的要求——Rails

ruby-on-rails - 如何在 Devise 中覆盖 valid_password?(password)

ruby - 如何以正确的格式写入 JSON 文件

ruby-on-rails-3 - rake 中止 : Don't know how to build task 'jobs:work'

ruby-on-rails - Elasticsearch中的COALESCE

javascript - 如何禁用 Google map 信息窗口上的下拉菜单(?)

ruby - 生成器 block 的枚举器行为

ruby-on-rails - 使用模块定义元类方法

database - Rails 3 - 将大量数据从旧数据库模式移动到新数据库模式