Exception: Bundler::Fetcher::SSLError

Inherits:
HTTPError show all
Defined in:
lib/bundler/fetcher.rb

Overview

This is the error raised when a source is HTTPS and OpenSSL didn’t load

Instance Method Summary collapse

Methods inherited from HTTPError

#filter_uri

Methods inherited from BundlerError

all_errors, status_code

Constructor Details

#initialize(msg = nil) ⇒ SSLError

Returns a new instance of SSLError.



39
40
41
42
43
# File 'lib/bundler/fetcher.rb', line 39

def initialize(msg = nil)
  super "Could not load OpenSSL.\n" \
    "You must recompile Ruby with OpenSSL support.\n" \
    "original error: #{msg}\n"
end