加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby-on-rails – bundle install导致git clone错误.不确定这个

发布时间:2020-12-17 04:04:49 所属栏目:百科 来源:网络整理
导读:在捆绑安装上遇到奇怪的错误.. bundle installFetching gem metadata from http://rubygems.org/.....Fetching gem metadata from http://rubygems.org/..Fetching git://github.com/maccman/gdata.gitfatal: The remote end hung up unexpectedlyGit error:
在捆绑安装上遇到奇怪的错误..

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才发生这种情况.

任何想法这个错误意味着什么?

UPDATE

此外,它没有尝试克隆它的文件夹存在.这可能与我的捆绑路径和杂耍.rvm有关

解决方法

问题不在于你.试:

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

在我的机器上出现相同的错误.

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

解析:从https界面克隆:https://github.com/maccman/gdata.git.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读