简体   繁体   中英

I am getting error on bundle install in RubyOnRails

  1. Retrying 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 has failed.fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

  2. 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 has failed.

As per the github doocument from 15th march github will permanently stop accepting git:// protocol. You can change the url from git:// to https:// .

Refer this github issue for more info

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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