We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f3491 commit 16e900eCopy full SHA for 16e900e
src/services/java/org/truffleruby/services/scriptengine/TruffleRubyScriptEngineFactory.java
@@ -107,11 +107,7 @@ public ScriptEngine getScriptEngine() {
107
}
108
109
private String query(String expression) {
110
- try (Context context = Context.newBuilder("ruby")
111
- .allowExperimentalOptions(true)
112
- .option("ruby.platform.native", "false")
113
- .option("ruby.rubygems", "false")
114
- .build()) {
+ try (Context context = Context.create("ruby")) {
115
return context.eval("ruby", expression).asString();
116
117
0 commit comments