Open
Description
Consider the same file loaded twice, with and without a symlinked path:
mkdir real_dir
ln -s real_dir symlink_dir
cat 'puts("Loaded")' > real_dir/script.rb
require_relative("./real_dir/script")
require_relative("./symlink_dir/script")
CRuby loads the script once (Output = Loaded\n
). TruffleRuby loads it twice (Output = Loaded\nLoaded\n
).
Is this a bug?