diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-11-15 16:51:03 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-11-15 16:52:10 +0900 |
commit | cc50e57bf5e002c0535c2166b94109dacf46d1f4 (patch) | |
tree | ec88a6a0c321d16ca634881fcb9b5ada252cf749 /tool | |
parent | 021255f1e7e67e37db65dd5fe5ca945f4c19dc7e (diff) | |
download | ruby-cc50e57bf5e002c0535c2166b94109dacf46d1f4.tar.gz |
Relax extention name for macOS
Diffstat (limited to 'tool')
-rw-r--r-- | tool/test-bundled-gems.rb | 2 |
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 |