【发布时间】:2016-01-06 01:28:43
【问题描述】:
我在将我的应用程序启动到 Heroku 时遇到问题。我目前正在学习 Ruby on Rails 教程第 1 章,但遇到以下错误:
1. remote: remote: -----> Ruby app detected remote: -----> Compiling
Ruby/Rails remote: -----> Using Ruby version: ruby-2.0.0 remote:
-----> Installing dependencies using bundler 1.9.7 remote: Running: bundle install --without development:test --path
vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment remote:
You are trying to install in deployment mode after changing remote:
your Gemfile. Run `bundle install` elsewhere and add the remote:
updated Gemfile.lock to version control. remote: You have
added to the Gemfile: remote: * pg (= 0.17.1) remote:
* rails_12factor (= 0.0.2) remote: Bundler Output: You are trying to install in deployment mode after changing remote:
your Gemfile. Run `bundle install` elsewhere and add the remote:
updated Gemfile.lock to version control. remote: remote:
You have added to the Gemfile: remote: * pg (= 0.17.1)
remote: * rails_12factor (= 0.0.2) remote: ! remote: !
Failed to install gems via Bundler. remote: ! remote: remote: !
Push rejected, failed to compile Ruby app remote: remote: Verifying
deploy... remote: remote: ! Push rejected to stark-dusk-2366.
我是新手,不太了解文件结构或我应该用来解决此问题的命令。
【问题讨论】:
标签: gem bundler railstutorial.org cedar