Method: Bundler::Fetcher::CertificateFailureError#initialize
- Defined in:
- lib/bundler/fetcher.rb
permalink #initialize(remote_uri) ⇒ CertificateFailureError
Returns a new instance of CertificateFailureError.
27 28 29 30 31 32 33 34 |
# File 'lib/bundler/fetcher.rb', line 27 def initialize(remote_uri) remote_uri = filter_uri(remote_uri) super "Could not verify the SSL certificate for #{remote_uri}.\nThere" \ " 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" \ " https://railsapps.github.io/openssl-certificate-verify-failed.html." end |