Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ private String findJRubyHome() {
throw new JavaException(e);
}

if (currentJarFile.toString().endsWith("/ruby.jar")) {
if (currentJarFile.getName().equals("ruby.jar")) {
String jarDir = currentJarFile.getParent();
if (new File(jarDir, "lib").isDirectory()) {
jrubyRuntime.setJRubyHome(jarDir);

0 comments on commit ddf8eb3

Please sign in to comment.