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 e0b196f commit 4415747Copy full SHA for 4415747
tool/jt.rb
@@ -245,7 +245,7 @@ def truffleruby_compiler?
245
return @truffleruby_compiler = true if truffleruby_native?
246
247
# Detect if the compiler is present by reading the $graalvm_home/release file
248
- graalvm_home = File.expand_path("../../../..#{'/..' * language_dir.count('/')}", ruby_launcher)
+ graalvm_home = File.expand_path("..#{'/..' * (language_dir.count('/') + 1)}", ruby_home)
249
@truffleruby_compiler = File.readlines("#{graalvm_home}/release").grep(/^COMMIT_INFO=/).any? do |line|
250
line.include?('"compiler":') || line.include?("'compiler':")
251
end
0 commit comments