【问题标题】:Gemfile.lock not checked in - Heroku × 45807Gemfile.lock 未签入 - Heroku × 45807
【发布时间】:2011-10-21 08:06:38
【问题描述】:

遇到与 (7) 相同的问题并尝试了所有可能的答案,但仍然无法取得任何进展。我希望你能有所帮助(请记住我是新手)。这是@hand问题的描述: 计数对象:7,完成。 Delta 压缩最多使用 4 个线程。 压缩对象:100% (4/4),完成。 写入对象:100% (4/4),403 字节,完成。 总计 4 个(delta 3),重复使用 0 个(delta 0)

-----> Heroku receiving push
-----> Rails app detected
-----> Configure Rails 3 to disable x-sendfile
       Installing rails3_disable_x_sendfile... done
-----> Configure Rails to log to stdout
       Installing rails_log_stdout... done
-----> Gemfile detected, running Bundler version 1.0.7
       Unresolved dependencies detected; Installing...
       Using --without development:test
       Windows Gemfile.lock detected, ignoring it.
       You have modified your Gemfile in development but did not check
       the resulting snapshot (Gemfile.lock) into version control

       You have added to the Gemfile:
       * source: source at vendor/engines
       * source: git://github.com/Dougui/refinerycms-portfolio.git (at master)
       * source: rubygems repository http://rubygems.org/
       * sqlite3
       * rake (= 0.8.7)
       * refinerycms (~> 1.0.3)
       * refinerycms-i18n (~> 1.0.0)
       * fog
       * refinerycms-portfolio
       * refinerycms-geolocations (= 1.0)
       * nokogiri

       You have changed in the Gemfile:
       * refinerycms-portfolio from `git://github.com/Dougui/refinerycms-portfol
io.git (at master)` to `no specified source`
       * refinerycms-geolocations from `source at vendor/engines` to `no specifi
ed source`
       FAILED: http://devcenter.heroku.com/articles/bundler
 !     Heroku push rejected, failed to install gems via Bundler

To git@heroku.com:vivid-rain-722.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:vivid-rain-722.git'

谢谢

【问题讨论】:

    标签: heroku ecma262 gemfile


    【解决方案1】:

    根据错误,您的gemfile.lock 与存储库中的不一样。 尝试执行以下步骤。

    bundle install
    git add gemfile.lock
    git commit -m "Add gemfile.lock"
    git push heroku master
    

    【讨论】:

      猜你喜欢
      • 2011-05-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-27
      • 1970-01-01
      • 2013-07-05
      • 2012-10-04
      • 2011-08-22
      相关资源
      最近更新 更多