diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-03-25 17:12:31 +0900 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2024-05-28 13:30:26 -0700 |
| commit | 716473e348eb74c5d437f570cd0d2a1efe30a8ae (patch) | |
| tree | 5d0fc1a585dbd2452a1b4c33b673d271bf729469 | |
| parent | 1849046d1f51b3630d5c68e2e6ff0746860eac9d (diff) | |
Use load_gemspec instead of Gem::Specification.load.
We need to purge `git ls-files` from gemspec in default gems.
| -rwxr-xr-x | tool/rbinstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index f28a183356..7cb584bdd7 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -827,7 +827,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 |
