module DefinitionSourceRequirementsPatch

Public Instance Methods

source_requirements() click to toggle source
Calls superclass method
# File lib/bootboot/bundler_patch.rb, line 32
def source_requirements
  super.tap do |source_requirements|
    # Bundler has a hard requirement that Ruby should be in the Metadata
    # source, so this replaces Ruby's Metadata source with our custom source
    source = Bootboot::RubySource.new({})
    source_requirements[source.ruby_spec_name] = source
  end
end