-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Labels
Milestone
Description
Setup:
Folder hierarchy:
$ tree
.
├── my_dir
│ ├── helper.rb
│ └── test.rb -> ../other_dir/test.rb
└── other_dir
├── helper.rb
└── test.rb
Contents:
$ cat my_dir/helper.rb
puts "helper in my_dir"
$ cat other_dir/helper.rb
puts "helper in other_dir"
$ cat other_dir/test.rb
require_relative 'helper'
Jruby 1.7.14 test:
$ ruby -v
jruby 1.7.14 (1.9.3p392) 2014-08-27 d368971 on Java HotSpot(TM) 64-Bit Server VM 1.8.0_51-b16 +jit [linux-amd64]
$ ruby my_dir/test.rb
helper in my_dir
Jruby 9000 test:
$ ruby -v
jruby 9.0.0.0 (2.2.2) 2015-07-21 e10ec96 Java HotSpot(TM) 64-Bit Server VM 25.51-b03 on 1.8.0_51-b16 +jit [linux-amd64]
$ ruby my_dir/test.rb
helper in other_dir
Reactions are currently unavailable