Exception: Gel::Error::CannotActivateError

Inherits:
UserError
  • Object
show all
Defined in:
lib/gel/error.rb

Instance Method Summary collapse

Methods inherited from UserError

#[], #inner_backtrace

Methods included from ReportableError

#details, #exit_code

Constructor Details

#initialize(path:, gemfile:) ⇒ CannotActivateError

Returns a new instance of CannotActivateError.



136
137
138
# File 'lib/gel/error.rb', line 136

def initialize(path:, gemfile:)
  super
end

Instance Method Details

#messageObject



140
141
142
# File 'lib/gel/error.rb', line 140

def message
  "Cannot activate #{self[:path].inspect}; already activated #{self[:gemfile].inspect}"
end