class Toys::Utils::Gems::GemfileUpdateNeededError
Need to add a gem to the bundle.
Public Class Methods
new(requirements_text, gemfile_path)
click to toggle source
Create a GemfileUpdateNeededError
.
@param requirements_text [String] Gems
and versions missing. @param gemfile_path [String] Path to the offending Gemfile.
Calls superclass method
# 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