Exception: Bundler::Fetcher::SSLError
- Inherits:
-
HTTPError
- Object
- StandardError
- BundlerError
- HTTPError
- Bundler::Fetcher::SSLError
- 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
-
#initialize(msg = nil) ⇒ SSLError
constructor
A new instance of SSLError.
Methods inherited from HTTPError
Methods inherited from BundlerError
Constructor Details
#initialize(msg = nil) ⇒ SSLError
Returns a new instance of SSLError.
37 38 39 40 41 42 |
# File 'lib/bundler/fetcher.rb', line 37 def initialize(msg = nil) super msg || "Could not load OpenSSL.\n" \ "You must recompile Ruby with OpenSSL support or change the sources in your " \ "Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL " \ "using RVM are available at rvm.io/packages/openssl." end |