class Bundler::CorruptBundlerInstallError

公共类方法

new(loaded_spec) 点击切换源代码
# File bundler/errors.rb, line 235
def initialize(loaded_spec)
  @loaded_spec = loaded_spec
end

公共实例方法

message() 点击切换源代码
# File 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