Gemfile.lock未签入 - Heroku×45807

时间:2011-08-06 04:12:03

标签: heroku ecma262 gemfile

得到与(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'

由于

1 个答案:

答案 0 :(得分:0)

根据错误,您的gemfile.lock与存储库中的bundle install git add gemfile.lock git commit -m "Add gemfile.lock" git push heroku master 不同。 尝试执行以下步骤。

{{1}}