method

install_git

ruby latest stable - Class: Bundler::Plugin::Installer

Method not available on this version

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

install_git(names, version, options)
private

No documentation available.

# File lib/bundler/plugin/installer.rb, line 41
      def install_git(names, version, options)
        uri = options.delete(:git)
        options["uri"] = uri

        source_list = SourceList.new
        source_list.add_git_source(options)

        # To support both sources
        if options[:source]
          source_list.add_rubygems_source("remotes" => options[:source])
        end

        deps = names.map {|name| Dependency.new name, version }

        definition = Definition.new(nil, deps, source_list, true)
        install_definition(definition)
      end