Exception: Gemstash::Storage::VersionTooNew

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gemstash/storage.rb

Overview

If the storage engine detects the base cache directory was originally initialized with a newer version, this error is thrown.

Instance Method Summary collapse

Constructor Details

#initialize(folder, version) ⇒ VersionTooNew

Returns a new instance of VersionTooNew.



17
18
19
20
# File 'lib/gemstash/storage.rb', line 17

def initialize(folder, version)
  super("Gemstash storage version #{Gemstash::Storage::VERSION} does " \
        "not support version #{version} found at #{folder}")
end