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