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.
235 236 237 |
# File 'lib/bundler/errors.rb', line 235 def initialize(loaded_spec) @loaded_spec = loaded_spec end |
Instance Method Details
#message ⇒ Object
239 240 241 242 243 |
# File 'lib/bundler/errors.rb', line 239 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 |