Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/Ruby.java
Original file line number Diff line number Diff line change
@@ -925,7 +925,7 @@ private JRubyTruffleInterface loadTruffle() {
try {
clazz = getJRubyClassLoader().loadClass("org.jruby.truffle.JRubyTruffleImpl");
} catch (Exception e) {
throw new RuntimeException("Truffle backend not available", e);
throw new RuntimeException("JRuby's Truffle backend not available - either it was not compiled because JRuby was built with Java 7, or it has been removed", e);
}

final JRubyTruffleInterface truffleContext;

2 comments on commit c6db8f6

@chrisseaton
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vext01 you were seeing this error message, but it wasn't clear enough, and I think 'Truffle' backend was confused for the the Graal Truffle backend, when it means the JRuby Truffle backend.

@vext01
Copy link

@vext01 vext01 commented on c6db8f6 Jun 20, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the one. I wasn't sure why the truffle backend was not there. I ended up using strace and eventually this lead me to suspecting something had gone wrong with the build process.

Thanks

Please sign in to comment.