gemfileでRefileをインストールしようとしました。
gem "refile", require: "refile/rails", github: 'manfe/refile' gem "refile-mini_magick"
そこでbundle installすると、、、
The git source `git://github.com/manfe/refile.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure. Fetching git://github.com/manfe/refile.git 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. Retrying `git clone 'git://github.com/manfe/refile.git' "/home/ec2-user/.rvm/gems/ruby-2.6.3/cache/bundler/git/refile-197f44e2ac4e44430807f905ad7632ff5c702ce5" --bare --no-hardlinks --quiet` due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command `git clone 'git://github.com/manfe/refile.git' "/home/ec2-user/.rvm/gems/ruby-2.6.3/cache/bundler/git/refile-197f44e2ac4e44430807f905ad7632ff5c702ce5" --bare --no-hardlinks --quiet` in directory /home/ec2-user/environment/Chatbot 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. Retrying `git clone 'git://github.com/manfe/refile.git' "/home/ec2-user/.rvm/gems/ruby-2.6.3/cache/bundler/git/refile-197f44e2ac4e44430807f905ad7632ff5c702ce5" --bare --no-hardlinks --quiet` due to error (3/4): Bundler::Source::Git::GitCommandError Git error: command `git clone 'git://github.com/manfe/refile.git' "/home/ec2-user/.rvm/gems/ruby-2.6.3/cache/bundler/git/refile-197f44e2ac4e44430807f905ad7632ff5c702ce5" --bare --no-hardlinks --quiet` in directory /home/ec2-user/environment/Chatbot 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. Retrying `git clone 'git://github.com/manfe/refile.git' "/home/ec2-user/.rvm/gems/ruby-2.6.3/cache/bundler/git/refile-197f44e2ac4e44430807f905ad7632ff5c702ce5" --bare --no-hardlinks --quiet` due to error (4/4): Bundler::Source::Git::GitCommandError Git error: command `git clone 'git://github.com/manfe/refile.git' "/home/ec2-user/.rvm/gems/ruby-2.6.3/cache/bundler/git/refile-197f44e2ac4e44430807f905ad7632ff5c702ce5" --bare --no-hardlinks --quiet` in directory /home/ec2-user/environment/Chatbot 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. Git error: command `git clone 'git://github.com/manfe/refile.git' "/home/ec2-user/.rvm/gems/ruby-2.6.3/cache/bundler/git/refile-197f44e2ac4e44430807f905ad7632ff5c702ce5" --bare --no-hardlinks --quiet` in directory /home/ec2-user/environment/Chatbot has failed.
このようなエラーが出てしまいます。
調べたところgithubのリモートリポジトリと紐づけされてないのが原因なのかなと思ったのですが、pushでファイルを上げることは出来るのでどういう状態なのか行き詰っています。
どなたかご教示いただけますと幸いです。
あなたの回答
tips
プレビュー