Skip to content

Commit 2bb38b3

Browse files
committed
Fix setting the young generation size when detecting RubyGems/Bundler
1 parent 69dc4f1 commit 2bb38b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/launcher/java/org/truffleruby/launcher/RubyLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected List<String> preprocessArguments(List<String> args, Map<String, String
101101
if (config.isGemOrBundle()) {
102102
// Apply options to run gem/bundle more efficiently
103103
if (isAOT()) {
104-
args.add(0, "--vm.Xmn1g");
104+
config.getUnknownArguments().add(0, "--vm.Xmn1g");
105105
}
106106
}
107107

0 commit comments

Comments
 (0)