mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use realpath to try to fix failures with symlinks
This commit is contained in:
parent
818708edab
commit
9318e1ff3e
1 changed files with 2 additions and 0 deletions
|
@ -140,6 +140,7 @@ class Dummy
|
|||
end
|
||||
EOF
|
||||
end
|
||||
dummy_script = File.realpath dummy_script
|
||||
script = File.join(dir, "require_tracer.rb")
|
||||
open(script, "w") do |f|
|
||||
f.print <<-EOF
|
||||
|
@ -191,6 +192,7 @@ class Dummy
|
|||
end
|
||||
EOF
|
||||
end
|
||||
dummy_script = File.realpath dummy_script
|
||||
script = File.join(dir, "require_tracer.rb")
|
||||
open(script, "w") do |f|
|
||||
f.print <<-EOF
|
||||
|
|
Loading…
Add table
Reference in a new issue