这是我在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
这甚至不是一个问题,它如何可以重复。 –