File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ def contents(self, result):
119
119
'--disable-gems' ,
120
120
'--disable-rubyopt' ,
121
121
]
122
- command = [jdk .java ] + jvm_args + [main_class ] + ruby_options + ['"$@"' ]
122
+ command = [jdk .java ] + jvm_args + ['-m' , 'org.graalvm.ruby.launcher/' + main_class ] + ruby_options + ['"$@"' ]
123
123
return "#!/usr/bin/env bash\n " + "exec " + " " .join (command ) + "\n "
124
124
125
125
Original file line number Diff line number Diff line change 431
431
"tag" : ["default" , "public" ],
432
432
},
433
433
"noMavenJavadoc" : True ,
434
+ "useModulePath" : True ,
434
435
},
435
436
436
437
# Required to share code between the launcher and the rest,
458
459
"tag" : ["default" , "public" ],
459
460
},
460
461
"noMavenJavadoc" : True ,
462
+ "useModulePath" : True ,
461
463
},
462
464
463
465
"TRUFFLERUBY-PROCESSOR" : {
489
491
"description" : "TruffleRuby services" ,
490
492
"license" : ["EPL-2.0" ],
491
493
"maven" : False ,
494
+ "useModulePath" : True ,
492
495
},
493
496
494
497
"TRUFFLERUBY" : {
508
511
"sulong:SULONG_API" ,
509
512
"sulong:SULONG_NFI" ,
510
513
"sdk:JLINE3" ,
514
+ # runtime-only dependencies
515
+ "truffle:TRUFFLE_NFI_LIBFFI" ,
516
+ "sulong:SULONG_NATIVE" ,
511
517
],
512
518
"exclude" : [ # Keep in sync with org.truffleruby dependencies and truffle_jars in mx_truffleruby.py
513
519
"truffleruby:JCODINGS" ,
525
531
"tag" : ["default" , "public" ],
526
532
},
527
533
"noMavenJavadoc" : True ,
534
+ "useModulePath" : True ,
528
535
},
529
536
530
537
"RUBY_COMMUNITY" : {
576
583
"description" : "TruffleRuby Launcher" ,
577
584
"license" : ["EPL-2.0" ],
578
585
"maven" : False ,
586
+ "useModulePath" : True ,
579
587
},
580
588
581
589
"TRUFFLERUBY_GRAALVM_SUPPORT" : {
You can’t perform that action at this time.
0 commit comments