2010-11-02 85 views
1

我剛剛跑過bundle update,出現以下錯誤 - 我不知道這是什麼。套件更新失敗

c:\San\ruby>bundle update Updating git://github.com/odorcicd/authlogic.git github.com[0: 207.97.227.239]: errno=No error fatal: unable to connect a socket (No error) An error has occurred in git when running git fetch --force --quiet --tags "git ://github.com/odorcicd/authlogic.git" refs/heads/*:refs/heads/*. Cannot complete bundling.

我所有的寶石都是最新(gem update --system)和安裝(bundle install)。我只是從Rails 3.0.0升級到3.0.1,這需要對ActiveSupport,Activemodel等進行一些其他更新,也針對3.0.1。你知道什麼可能導致上述錯誤嗎?

+0

如何從包文件中刪除authlogic寶石,並進行更新。然後把它放回去? – 2010-11-02 04:25:08

回答

2

乍一看,這看起來像連接到github的網絡錯誤。嘗試通過命令行克隆回購,看看你是否可以到達它。代理或防火牆可能會導致此問題。

git clone git://github.com/odorcicd/authlogic.git 

或者你可以嘗試的HTTP URL來代替:

http://github.com/odorcicd/authlogic.git