diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-08-21 20:13:03 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-31 19:06:14 +0900 |
commit | c119dd2b5a0466ba317c2b5981c686355d7e3b6e (patch) | |
tree | 57d6247719891c06b3238e2b47bf9cab4bb42ddc /lib/bundler/plugin | |
parent | c044f818ca47511dceefcdddba64e4f144e8c731 (diff) |
[rubygems/rubygems] Fix `bundle plugin install` misdetection of installed versions
https://github.com/rubygems/rubygems/commit/9c88db949d
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4789
Diffstat (limited to 'lib/bundler/plugin')
-rw-r--r-- | lib/bundler/plugin/installer.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/plugin/installer.rb b/lib/bundler/plugin/installer.rb index 54ce8528cf..d7411fff45 100644 --- a/lib/bundler/plugin/installer.rb +++ b/lib/bundler/plugin/installer.rb @@ -81,6 +81,8 @@ module Bundler deps = names.map {|name| Dependency.new name, version } + Bundler.configure_gem_home_and_path(Plugin.root) + definition = Definition.new(nil, deps, source_list, true) install_definition(definition) end |