簡體   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