繁体   English   中英

我在 RubyOnRails 中安装包时遇到错误

[英]I am getting error on bundle install in RubyOnRails

  1. 重试git clone 'git://github.com/Azdaroth/simple-captcha.git' "/home/intrcity/.rvm/gems/ruby-2.5.0@ry_rails5/cache/bundler/git/simple-captcha-f06f0cfd255417fffe861c65e1badbe22e822021" --bare --no-hardlinks --quiet due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command git clone 'git://github.com/Azdaroth/simple-captcha.git' "/home/intrcity/.rvm/gems/ruby-2.5.0@ry_rails5/cache/bundler/git/simple-captcha-f06f0cfd255417fffe861c65e1badbe22e822021" --bare --no-hardlinks --quiet in directory /home /intrcity/ry_project/railyatri.railyatri_web 失败。致命:远程错误:不再支持端口 9418 上未经身份验证的 git 协议。 请参阅https://github.blog/2021-09-01-improving-git-protocol-security-github/了解更多信息。

  2. Git 错误:命令git clone 'git://github.com/Azdaroth/simple-captcha.git' "/home/intrcity/.rvm/gems/ruby-2.5.0@ry_rails5/cache/bundler/git/simple-captcha-f06f0cfd255417fffe861c65e1badbe22e822021" --bare --no-hardlinks --quiet目录 /home/intrcity/ry_project/railyatri.railyatri_web 失败。

根据github 文档,从 3 月 15 日开始,github 将永久停止接受git://协议。 您可以将 url 从git://更改为https://

有关详细信息,请参阅此github 问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM