2012-03-29 111 views
1

我嘗試了一切,我可以在StackOverflow以及其他一些網站中找到並且我的問題依然存在。推送到分段服務器時出現Heroku錯誤

Gemfile detected, running Bundler version 1.0.7 
    Unresolved dependencies detected; Installing... 
    Using --without development:test 
    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: 
    * libnotify 
    * rb-inotify 

    You have deleted from the Gemfile: 
    * growl 
    * rb-fsevent 

這裏是我試過和我的Gemfile https://gist.github.com/2244347

+0

上你一臺Windows機器? – 2012-03-29 22:43:20

+0

不,我不是。 Mac – 2012-03-29 22:51:03

+0

這很奇怪,因爲我以前見過這個問題,但他們都必須使用過時版本的捆綁器(特別是1.0.6)。你會嘗試運行'gem update bundler'嗎?在黑暗中拍攝。 – 2012-03-29 22:57:54

回答

1

我認爲我在你的要點,你試過從Git和刪除Gemfile.lock的重新添加它磁頭讀取。但因爲我沒有看到,我會假設你忘了提交它:

git add Gemfile.lock 
git commit -m "Adding Gemfile.lock" 
+0

謝謝,但我確實嘗試添加它,謝謝 – 2012-03-29 23:45:59

0

bundle install

git add Gemfile.lock

git commit -am "Updated Gemfile"

git push heroku master

+0

謝謝,但嘗試過(幾次)仍然沒有工作 – 2012-03-30 12:05:14

相關問題