diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-02-01 11:31:46 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-02-01 11:31:46 +0900 |
commit | 563f177aa41519db655359576386d438e3694c48 (patch) | |
tree | 038fa1d8c7c81ac1fe3cec83135593c208fd3b7c /tool | |
parent | f8df531bbf4ae662fe6de2cf210a274c97d76bf3 (diff) |
UnpackedInstaller on rbinstall.rb is inherited from Gem::Installer.
It also needs to explicitly convert from String to Gem::Package
with initialization.
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/rbinstall.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index d13607f4b7..341adbf765 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -724,7 +724,8 @@ module RbInstall end def initialize(spec, *options) - super(spec.loaded_from, *options) + package = Gem::Package.new(spec.loaded_from) + super(package, *options) @package.extend(DirPackage).spec = spec end |