Skip to content

Commit

Permalink
[Truffle] Set jruby home back in JRuby.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Sep 27, 2016
1 parent ffa06d3 commit 87e05cc
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -58,6 +58,7 @@ private String findJRubyHome() {
if (currentJarFile.toString().endsWith("/ruby.jar")) {
String jarDir = currentJarFile.getParent();
if (new File(jarDir, "lib").isDirectory()) {
jrubyRuntime.setJRubyHome(jarDir);
return jarDir;
}
}
Expand Down

0 comments on commit 87e05cc

Please sign in to comment.