-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
investigationruby.wasmRelated to ruby.wasm project (rbwasm, js, etc.)Related to ruby.wasm project (rbwasm, js, etc.)
Description
Currently, we have to copy-paste the Rails CLI code to replace ARGV
calls with a custom args
variable: https://github.com/palkan/tutorialkit-rb-playground/blob/f429ea727335a2db9c8500828fcf90c32ac79ad0/src/templates/default/bin/rails#L12
In theory, it should be possible to pass command args to the Wasm executable through the WASI params: https://github.com/palkan/tutorialkit-rb-playground/blob/f429ea727335a2db9c8500828fcf90c32ac79ad0/src/templates/default/lib/rails.js#L25
For some yet unknown reason that doesn't work. Let's figure this out (could it be a ruby,wasm issue?).
Metadata
Metadata
Assignees
Labels
investigationruby.wasmRelated to ruby.wasm project (rbwasm, js, etc.)Related to ruby.wasm project (rbwasm, js, etc.)