Exception: Toys::Utils::Gems::GemfileUpdateNeededError

Inherits:
ActivationFailedError show all
Defined in:
lib/toys/utils/gems.rb

Overview

Need to add a gem to the bundle.

Instance Method Summary collapse

Constructor Details

#initialize(requirements_text, gemfile_path) ⇒ GemfileUpdateNeededError



54
55
56
57
# File 'lib/toys/utils/gems.rb', line 54

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