mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
UnpackedInstaller on rbinstall.rb is inherited from Gem::Installer.
It also needs to explicitly convert from String to Gem::Package with initialization.
This commit is contained in:
parent
f8df531bbf
commit
563f177aa4
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue