method

install

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(names, options)
public

No documentation available.

# File lib/bundler/plugin/installer.rb, line 14
      def install(names, options)
        version = options[:version] || [">= 0"]
        Bundler.settings.temporary(:lockfile_uses_separate_rubygems_sources => false, :disable_multisource => false) do
          if options[:git]
            install_git(names, version, options)
          else
            sources = options[:source] || Bundler.rubygems.sources
            install_rubygems(names, version, sources)
          end
        end
      end