Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/main/java/org/jruby/Ruby.java
Original file line number Diff line number Diff line change
@@ -1330,8 +1330,10 @@ && getInstanceConfig().getCompileMode() != CompileMode.TRUFFLE) {
bootingRuntime = false;

// Require in all libraries specified on command line
for (String scriptName : config.getRequiredLibraries()) {
topSelf.callMethod(getCurrentContext(), "require", RubyString.newString(this, scriptName));
if (getInstanceConfig().getCompileMode() != CompileMode.TRUFFLE) {
for (String scriptName : config.getRequiredLibraries()) {
topSelf.callMethod(getCurrentContext(), "require", RubyString.newString(this, scriptName));
}
}
}

0 comments on commit 649ec1b

Please sign in to comment.