зеркало из https://github.com/github/ruby.git
Use load_gemspec instead of Gem::Specification.load.
We need to purge `git ls-files` from gemspec in default gems.
This commit is contained in:
Родитель
6c65f11c08
Коммит
152192c96f
|
@ -631,7 +631,7 @@ module RbInstall
|
|||
end
|
||||
|
||||
def ext_features
|
||||
loaded_gemspec = Gem::Specification.load("#{root}/#{gemspec}")
|
||||
loaded_gemspec = load_gemspec("#{root}/#{gemspec}")
|
||||
extension = loaded_gemspec.extensions.first
|
||||
return [] unless extension
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче