git - bundle 程序错误 : Retrying git cat-file . ..如果此错误仍然存​​在,您可以尝试删除缓存目录

标签 git bundler

我 bundle 更新了 zipcar,这是一个本地 gem,并得到:

$ bundle update zipcar
Retrying git cat-file -e 78c5245dd174058958a07d6674de7bc037e14ed5 due to error (2/3): Bundler::Source::Git::GitCommandError Git
 error: command `git cat-file -e 78c5245dd174058958a07d6674de7bc037e14ed5` in directory /Users/mdurrant/.rvm/gems/jruby-1.7.4/c
ache/bundler/git/tricorder-4921ab3158ace9efb6d757333e208c58cbfe3e2e has failed.
If this error persists you could try removing the cache directory '/Users/mdurrant/.rvm/gems/jruby-1.7.4/cache/bundler/git/tric
order-4921ab3158ace9efb6d757333e208c58cbfe3e2e'
Retrying git cat-file -e 78c5245dd174058958a07d6674de7bc037e14ed5 due to error (3/3): Bundler::Source::Git::GitCommandError Git
 error: command `git cat-file -e 78c5245dd174058958a07d6674de7bc037e14ed5` in directory /Users/mdurrant/.rvm/gems/jruby-1.7.4/c
ache/bundler/git/tricorder-4921ab3158ace9efb6d757333e208c58cbfe3e2e has failed.
If this error persists you could try removing the cache directory '/Users/mdurrant/.rvm/gems/jruby-1.7.4/cache/bundler/git/tric
order-4921ab3158ace9efb6d757333e208c58cbfe3e2e'

最佳答案

这是由于 bundle 程序检测到网络故障的功能所致。

对我来说,简单的解决方法就是再次运行它。

关于git - bundle 程序错误 : Retrying git cat-file . ..如果此错误仍然存​​在,您可以尝试删除缓存目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22481025/

相关文章:

Git 提交错误

git - 在 GitHub 上 checkout 丢失的提交,该提交不在任何分支上

ruby-on-rails - $ 包更新 - 错误 - 找不到 PostgreSQL 客户端库 (libpq) *** extconf.rb 失败 ***

ruby - 使用什么代替 --no-ri 进行 gem 安装?

ruby - 无法在 Windows xp 上的 cygwin 下为 bcrypt-ruby gem 构建 native 扩展

ruby - bundle 安装错误 - 你的 bundle 只支持平台 [] 但你的本地平台是 ["ruby", "x86_64-linux"]

git - 删除未推送的 git 提交,但保留所有本地工作

git - 运行 Github Action 以使分支与主分支保持同步

Android Studio 推送到 Github

ruby-on-rails - Rails 3.2:尝试使用 'Whenever' gem 但日志文件不断给出:无法在任何来源中找到 multi_json-1.1.0 (Bundler::GemNotFound) 错误