Exception: Toys::Utils::Gems::GemfileUpdateNeededError
- Inherits:
-
ActivationFailedError
- Object
- StandardError
- ActivationFailedError
- Toys::Utils::Gems::GemfileUpdateNeededError
- Defined in:
- lib/toys/utils/gems.rb
Overview
Need to add a gem to the bundle.
Instance Method Summary collapse
-
#initialize(requirements_text, gemfile_path) ⇒ GemfileUpdateNeededError
constructor
Create a GemfileUpdateNeededError.
Constructor Details
#initialize(requirements_text, gemfile_path) ⇒ GemfileUpdateNeededError
Create a GemfileUpdateNeededError.
37 38 39 40 |
# File 'lib/toys/utils/gems.rb', line 37 def initialize(requirements_text, gemfile_path) super("Required gem not available in the bundle: #{requirements_text}.\n" \ "Please update your Gemfile #{gemfile_path.inspect}.") end |