Skip to content

Commit

Permalink
[Truffle] Always make load paths absolute.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Mar 4, 2015
1 parent 4e4e46a commit d996099
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -127,7 +127,7 @@ public void init() {

for (IRubyObject path : ((org.jruby.RubyArray) runtime.getLoadService().getLoadPath()).toJavaArray()) {
if (!excludedLibPaths.contains(path.toString())) {
loadPath.slowPush(truffleContext.makeString(path.toString()));
loadPath.slowPush(truffleContext.makeString(new File(path.toString()).getAbsolutePath()));
}
}

Expand Down

0 comments on commit d996099

Please sign in to comment.