Skip to content
Permalink
Browse files
Use absolute path, not canonical, for LOADED_FEATURES.
  • Loading branch information
headius committed Dec 8, 2014
1 parent 1cf29d1 commit ba987b622b9a1fb4211c9bf89f9f1517f2b56772
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/org/jruby/runtime/load/LibrarySearcher.java
@@ -213,7 +213,7 @@ private static boolean isAbsolute(String path) {
}

protected String resolveLoadName(FileResource resource, String ruby18path) {
return resource.canonicalPath();
return resource.absolutePath();
}

protected String resolveScriptName(FileResource resource, String ruby18Path) {

0 comments on commit ba987b6

Please sign in to comment.