diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-02-20 09:55:29 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-02-20 09:56:05 +0900 |
| commit | cdf39ed6731ebdc621809a8ba7ea46877a4835f5 (patch) | |
| tree | ddefcfe544b2717f8c4ebcc6606f5469afc0c3c3 | |
| parent | 4ba76d48474daf0e4796f16c344fd8428960a641 (diff) | |
Don't sync prism.{so,bundle,dll} from `ruby/prism`
| -rwxr-xr-x | tool/sync_default_gems.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 45824cd1e4..d9c128e65e 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -3,6 +3,7 @@ # See `tool/sync_default_gems.rb --help` for how to use this. require 'fileutils' +require "rbconfig" module SyncDefaultGems include FileUtils @@ -379,6 +380,7 @@ module SyncDefaultGems rm_rf("prism/templates/java") rm_rf("prism/templates/rbi") rm_rf("prism/templates/sig") + rm_rf("lib/prism/prism.#{RbConfig::CONFIG['DLEXT']}") rm("prism/extconf.rb") else |
