зеркало из 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:
Родитель
1849046d1f
Коммит
716473e348
|
@ -827,7 +827,7 @@ module RbInstall
|
||||||
end
|
end
|
||||||
|
|
||||||
def ext_features
|
def ext_features
|
||||||
loaded_gemspec = Gem::Specification.load("#{root}/#{gemspec}")
|
loaded_gemspec = load_gemspec("#{root}/#{gemspec}")
|
||||||
extension = loaded_gemspec.extensions.first
|
extension = loaded_gemspec.extensions.first
|
||||||
return [] unless extension
|
return [] unless extension
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче