summaryrefslogtreecommitdiff
path: root/tool/test-bundled-gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-11-15 16:51:03 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-11-15 16:52:10 +0900
commitcc50e57bf5e002c0535c2166b94109dacf46d1f4 (patch)
treeec88a6a0c321d16ca634881fcb9b5ada252cf749 /tool/test-bundled-gems.rb
parent021255f1e7e67e37db65dd5fe5ca945f4c19dc7e (diff)
downloadruby-cc50e57bf5e002c0535c2166b94109dacf46d1f4.tar.gz
Relax extention name for macOS
Diffstat (limited to 'tool/test-bundled-gems.rb')
-rw-r--r--tool/test-bundled-gems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb
index 3b9261d2ff..b70576103a 100644
--- a/tool/test-bundled-gems.rb
+++ b/tool/test-bundled-gems.rb
@@ -24,7 +24,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
if gem == "typeprof"
rbs_build_dir = 'ext/-test-/gems/rbs'
- raise "need to run rbs test suite before typeprof" unless File.readable?("#{rbs_build_dir}/rbs_extension.so")
+ raise "need to run rbs test suite before typeprof" unless File.readable?("#{rbs_build_dir}/rbs_extension.#{RbConfig::CONFIG['DLEXT']}")
ENV["RUBYLIB"] = ["#{gem_dir}/src/rbs/lib", ENV.fetch("RUBYLIB", nil)].compact.join(":")
end