I am trying to push my code to heroku and this appears as an error:
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.7.12
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 deleted from the Gemfile:
* 1.10.0.pre
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 deleted from the Gemfile:
* 1.10.0.pre
!
! Failed to install gems via Bundler.
!
我尝试过“捆绑安装”命令和“捆绑更新”,但似乎没有任何效果。
答案 0 :(得分:0)
那部分说:
and add the updated Gemfile.lock to version control
你的Git中是否包含Gemfile.lock?