Skip to content

Commit 1172b04

Browse files
committed
Use the precompiled version of sorbet-static
* The shipped executable does not depend on the Ruby ABI.
1 parent 04016dc commit 1172b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mri/rubygems/platform.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def self.match_spec?(spec)
4141

4242
def self.match_gem?(platform, gem_name)
4343
raise unless String === gem_name
44-
if gem_name == 'libv8'
44+
if gem_name == 'libv8' or gem_name == 'sorbet-static'
4545
match_platforms?(platform, [Gem::Platform::RUBY, Gem::Platform.local])
4646
else
4747
match_platforms?(platform, Gem.platforms)

0 commit comments

Comments
 (0)