1
我得到一个错误,当“混帐推Heroku的主人”未能推送一些ref到heroku?
使用“混帐推Heroku的主-f”
的错误相同的错误:
Counting objects: 43015, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (14389/14389), done.
Writing objects: 100% (43015/43015), 18.52 MiB | 594.00 KiB/s, done.
Total 43015 (delta 26894), reused 42969 (delta 26863)
remote: Git submodules detected, installing:
remote:
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: sh: 1: Gemfile: not found
remote: sh: 1: branch: not found
remote: ERROR: While executing gem ... (Gem::CommandLineError)
remote: Unknown command recaptcha
remote: !
remote: ! There was an error parsing your Gemfile, we cannot continue
remote: !
remote: ! [!] There was an error parsing `Gemfile`: The `branch` option for `gem 'recaptcha'` is not allowed. Only gems with a git source can specify a branch. Bundler cannot continue.
remote: !
remote: ! # from /tmp/build_05d951a3e30701bcecb25fd61ce3f179/Gemfile:46
remote: ! # -------------------------------------------
remote: ! # gem 'acts_as_tree_rails3'
remote: ! > gem 'recaptcha', :require => 'recaptcha/rails', :branch => 'rails3'
remote: ! #
remote: ! # -------------------------------------------
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to arcane-retreat-58893.
remote:
To https://git.heroku.com/arcane-retreat-58893.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/arcane-retreat-58893.git'
首先做一个“混帐拉”合并,然后推命令也没有为我工作,无论是。
日志会告诉你一切。如果不清楚,请联系存储库所有者。它与'git pull'无关。它被远程钩子拒绝。 – ElpieKay