Skip to content

Commit d996099

Browse files
committed
[Truffle] Always make load paths absolute.
1 parent 4e4e46a commit d996099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

truffle/src/main/java/org/jruby/truffle/TruffleBridgeImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public void init() {
127127

128128
for (IRubyObject path : ((org.jruby.RubyArray) runtime.getLoadService().getLoadPath()).toJavaArray()) {
129129
if (!excludedLibPaths.contains(path.toString())) {
130-
loadPath.slowPush(truffleContext.makeString(path.toString()));
130+
loadPath.slowPush(truffleContext.makeString(new File(path.toString()).getAbsolutePath()));
131131
}
132132
}
133133

0 commit comments

Comments
 (0)