2011-08-06 42 views
-2

獲得與(7)中相同的問題並嘗試了所有可能的答案,但仍無法取得任何進展。我希望你能有所幫助(請記住,我是一個新手請)。這裏是@手問題的描述: 計數對象:7,完成。 增量壓縮使用多達4個線程。 壓縮對象:100%(4/4),完成。 寫入對象:100%(4/4),403字節,完成。 共計4(三角形3),再次使用0(增量0)Gemfile.lock未簽入 - Heroku×45807

-----> 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 [email protected]:vivid-rain-722.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to '[email protected]:vivid-rain-722.git' 

由於

回答

0

基於該錯誤,則gemfile.lock是不一樣的所述一箇中存儲庫。 請嘗試執行以下步驟。

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