代码之家  ›  专栏  ›  技术社区  ›  sscirrus

捆绑更新失败

  •  1
  • sscirrus  · 技术社区  · 14 年前

    我只是跑 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。你知道导致上述错误的原因是什么吗?

    1 回复  |  直到 14 年前
        1
  •  2
  •   johnmcaliley    14 年前

    乍一看,这看起来像是连接到GitHub的网络错误。尝试通过命令行克隆repo,看看您是否可以访问它。代理或防火墙可能导致此问题。

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

    或者您可以尝试http URL:

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