Method: Bundler::Plugin::Installer#install
- Defined in:
- lib/bundler/plugin/installer.rb
#install(names, options) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/bundler/plugin/installer.rb', line 15 def install(names, ) check_sources_consistency!() version = [:version] || [">= 0"] if [:git] install_git(names, version, ) elsif [:path] install_path(names, version, [:path]) else sources = [:source] || Gem.sources install_rubygems(names, version, sources) end end |