gpt4 book ai didi

ruby-on-rails - bundle install 导致 git clone 错误。不确定此响应的含义

转载 作者:太空狗 更新时间:2023-10-29 13:17:06 32 4
gpt4 key购买 nike

在安装包时出现奇怪的错误..

bundle install
Fetching gem metadata from http://rubygems.org/.....
Fetching gem metadata from http://rubygems.org/..
Fetching git://github.com/maccman/gdata.git
fatal: The remote end hung up unexpectedly
Git error: command `git clone 'git://github.com/maccman/gdata.git' "/Users/elephanttrip/.rvm/gems/ruby-1.9.2-p318@shasta/cache/bundler/git/gdata-811f852468ac76e0019108d8c5320da12b6683d4" --bare --no-hardlinks` in directory /Users/elephanttrip/Sites/shasta has failed.

直到我用 brew 安装了 mysql2 gem 和 mysql 之后才发生这种情况。

知道这个错误是什么意思吗?

更新

它试图克隆的文件夹也不存在。这可能与我的包路径和杂耍 .rvm 有关

最佳答案

问题不在你这边。尝试:

git clone 'git://github.com/maccman/gdata.git' "foobar" --bare --no-hardlinks

在我的机器上失败并出现同样的错误。

有趣的是,非裸克隆似乎可以按预期工作。

解决方案: 从 https 接口(interface)克隆:https://github.com/maccman/gdata.git 代替。

关于ruby-on-rails - bundle install 导致 git clone 错误。不确定此响应的含义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9939697/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com