$ git push heroku master
Counting objects: 70, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (61/61), done.
Writing objects: 100% (70/70), 16.06 KiB | 0 bytes/s, done.
Total 70 (delta 2), reused 0 (delta 0)
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using Bundler version 1.3.2
New app detected loading default bundler cache
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:
* pg
* rails_12factor
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:
* pg
* rails_12factor
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app
To [email protected]:obscure-reaches-5507.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:obscure-reaches-5507.git'
как я могу решить эту проблему?Как я могу запустить пакет в другом месте?
Вы нажали свой файл блокировки? –
Возможный дубликат [Bundler: вы пытаетесь установить в режиме развертывания после изменения Gemfile] (http://stackoverflow.com/questions/11513623/bundler-you-are-trying-to-install-in-deployment-mode -after-change-your-gemfil) – phoet