【发布时间】:2018-05-17 00:50:03
【问题描述】:
我在 Windows 8 中有带有 ruby 版本“ruby 2.1.5p273(2014-11-13 修订版 48405)[i386-mingw32]”的 rails 4.1.8。我按照本教程在 rails-“http://installfest.railsbridge.org/installfest/windows 上安装 ruby” ”。现在,每当我运行任何 Rails 应用程序时,我都会收到此错误-
Fetching source index from https://rubygems.org/
Retrying source fetch due to error (2/3):Bundler::Fetcher::CertificateFailureError
Could not verify the SSL certificate for https://rubygems.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Retrying source fetch due to error (3/3): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for https://rubygems.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
Could not verify the SSL certificate for https://rubygems.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see bit.ly/ruby-ssl. To connect without using SSL, edit your Gemfile sources and change 'https' to 'http'.
我应该将 https 更改为 http 吗?安全吗?
【问题讨论】:
标签: ruby-on-rails