diff options
Diffstat (limited to 'benchmark/gc/gcbench.rb')
-rw-r--r-- | benchmark/gc/gcbench.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/gc/gcbench.rb b/benchmark/gc/gcbench.rb index 5fee2a2bce..dc1c5e2ded 100644 --- a/benchmark/gc/gcbench.rb +++ b/benchmark/gc/gcbench.rb @@ -2,7 +2,7 @@ require 'benchmark' require 'pp' -script = File.join(__dir__, ARGV.shift) +script = File.join(File.dirname(__FILE__), ARGV.shift) script += '.rb' unless FileTest.exist?(script) raise "#{script} not found" unless FileTest.exist?(script) |