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
#initialize(loaded_spec) ⇒ CorruptBundlerInstallError
Returns a new instance of CorruptBundlerInstallError.
249 250 251 |
# File 'lib/bundler/errors.rb', line 249 def initialize(loaded_spec) @loaded_spec = loaded_spec end |
Instance Method Details
#message ⇒ Object
253 254 255 256 257 |
# File 'lib/bundler/errors.rb', line 253 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 |