We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ba6955 commit e32c79aCopy full SHA for e32c79a
tool/jt.rb
@@ -331,7 +331,7 @@ def truffleruby_compiler?
331
return @truffleruby_compiler = true if truffleruby_native_built?
332
333
# Detect if the compiler is present by reading the $graalvm_home/release file
334
- @truffleruby_compiler = File.readlines("#{graalvm_home}/release").grep(/^COMMIT_INFO=/).any? do |line|
+ @truffleruby_compiler = File.readlines("#{graalvm_home || ruby_home}/release").grep(/^COMMIT_INFO=/).any? do |line|
335
line.include?('"compiler":') || line.include?("'compiler':")
336
end
337
0 commit comments