Exception: PhusionPassenger::VersionNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/phusion_passenger/exceptions.rb

Overview

Indicates that there is no Ruby on Rails version installed that satisfies a given Ruby on Rails Gem version specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, gem_version_spec) ⇒ VersionNotFound

  • message: The exception message.

  • gem_version_spec: The Ruby on Rails Gem version specification that caused this error.



33
34
35
36
# File 'lib/phusion_passenger/exceptions.rb', line 33

def initialize(message, gem_version_spec)
	super(message)
	@gem_version_spec = gem_version_spec
end

Instance Attribute Details

#gem_version_specObject (readonly)

Returns the value of attribute gem_version_spec.



29
30
31
# File 'lib/phusion_passenger/exceptions.rb', line 29

def gem_version_spec
  @gem_version_spec
end