【问题标题】:git push heroku master not workinggit push heroku master 不工作
【发布时间】:2015-05-14 22:17:12
【问题描述】:
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.
 !

我尝试了“捆绑安装”命令和“捆绑更新”,但似乎没有任何效果。

【问题讨论】:

    标签: heroku nitrousio nitrous


    【解决方案1】:

    那部分说:

    and add the updated Gemfile.lock to version control
    

    Gemfile.lock 是否包含在您的 Git 中?

    【讨论】:

      猜你喜欢
      • 2011-05-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-21
      • 2013-02-03
      • 2016-12-26
      • 1970-01-01
      相关资源
      最近更新 更多