這是我在MAC終端和Heroku的主分支輸出:Heroku的推碼錯誤紅寶石
[remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/projectname.git'
In heroku
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.9.7
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.
You have added to the Gemfile:
* ruby (= 2.0.0)
* pg (= 0.17.1)
Bundler Output: You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.
You have added to the Gemfile:
* ruby (= 2.0.0)
* pg (= 0.17.1)
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app
你的問題在哪裏? –
沒有它的不重複我搜索的所有問題,但沒有人解決我的問題 – user2128531
這甚至不是一個問題,它如何可以重複。 –