class Omnibus::GemNotInstalled

Public Class Methods

new(name) click to toggle source
# File lib/omnibus/exceptions.rb, line 129
def initialize(name)
  @name = name
end

Public Instance Methods

to_s() click to toggle source
# File lib/omnibus/exceptions.rb, line 133
    def to_s
      <<~EOH
        I could not load the `#{@name}' gem. Please make sure the gem is installed on
        your local system by running `gem install #{@name}`, or by adding the following
        to your Gemfile:

            gem '#{@name}'
      EOH
    end