class Bundler::Molinillo::NoSuchDependencyError

i.e. has no versions available whatsoever.
An error caused by searching for a dependency that is completely unknown,

def initialize(dependency, required_by = [])

Parameters:
  • required_by (Array) -- @see {#required_by}
  • dependency (Object) -- @see {#dependency}
  • def initialize(dependency, required_by = [])
      @dependency = dependency
      @required_by = required_by
      super()
    end

    def message

    that had this dependency.
    The error message for the missing dependency, including the specifications
    def message
      sources = required_by.map { |r| "`#{r}`" }.join(' and ')
      message = "Unable to find a specification for `#{dependency}`"
      message << " depended upon by #{sources}" unless sources.empty?
      message
    end