-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.3.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --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:
* sqlite3 (= 1.3.5)
* sass-rails (= 3.2.5)
* coffee-rails (= 3.2.2)
* uglifier (= 1.2.3)
* jquery-rails (= 2.0.2)
* pg (= 0.12.2)
You have deleted from the Gemfile:
* coffee-rails (~> 3.2.1)
* jquery-rails
* sass-rails (~> 3.2.3)
* sqlite3
* uglifier (>= 1.0.3)
!
! Failed to install gems via Bundler.
!
! Heroku push rejected, failed to compile Ruby/rails app
问问题
102 次
1 回答
1
正如,日志说:
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.
我认为您在推送到 heroku 之前还没有提交 Gemfile.lock 文件。运行 bundle install 然后提交 Gemfile 和 Gemfile.lock。之后将代码推送到heroku。
于 2013-04-21T07:08:21.910 回答