Exception: Bundler::CorruptBundlerInstallError
- Inherits:
-
BundlerError
- Object
- StandardError
- BundlerError
- Bundler::CorruptBundlerInstallError
- Defined in:
- lib/bundler/errors.rb
Instance Method Summary collapse
-
#initialize(loaded_spec) ⇒ CorruptBundlerInstallError
constructor
A new instance of CorruptBundlerInstallError.
- #message ⇒ Object
Methods inherited from BundlerError
Constructor Details
permalink #initialize(loaded_spec) ⇒ CorruptBundlerInstallError
Returns a new instance of CorruptBundlerInstallError.
253 254 255 |
# File 'lib/bundler/errors.rb', line 253 def initialize(loaded_spec) @loaded_spec = loaded_spec end |
Instance Method Details
permalink #message ⇒ Object
[View source]
257 258 259 260 261 |
# File 'lib/bundler/errors.rb', line 257 def "The running version of Bundler (#{Bundler::VERSION}) does not match the version of the specification installed for it (#{@loaded_spec.version}). " \ "This can be caused by reinstalling Ruby without removing previous installation, leaving around an upgraded default version of Bundler. " \ "Reinstalling Ruby from scratch should fix the problem." end |