123456789_123456789_123456789_123456789_123456789_

Exception: Bundler::CorruptBundlerInstallError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, BundlerError, StandardError
Instance Chain:
self, BundlerError, StandardError
Inherits: Bundler::BundlerError
Defined in: lib/bundler/errors.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(loaded_spec) ⇒ CorruptBundlerInstallError

[ GitHub ]

  
# File 'lib/bundler/errors.rb', line 235

def initialize(loaded_spec)
  @loaded_spec = loaded_spec
end

Instance Method Details

#message

[ GitHub ]

  
# File 'lib/bundler/errors.rb', line 239

def message
  "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