method

build_dependency

ruby latest stable - Class: Bundler::EndpointSpecification

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

build_dependency(name, requirements)
private

No documentation available.

# File lib/bundler/endpoint_specification.rb, line 130
    def build_dependency(name, requirements)
      Gem::Dependency.new(name, requirements)
    rescue ArgumentError => e
      raise unless e.message.include?(ILLFORMED_MESSAGE)
      puts # we shouldn't print the error message on the "fetching info" status line
      raise GemspecError,
        "Unfortunately, the gem #{name} (#{version}) has an invalid "          "gemspec.\nPlease ask the gem author to yank the bad version to fix "          "this issue. For more information, see http://bit.ly/syck-defaultkey."
    end