You may need to set options when using gem install so that the gem can find the Tcl/Tk headers and library: $ gem install tk -- \ --with-tcl-include='/path/to/tcl ...
ruby.wasm is a collection of WebAssembly ports of CRuby. It enables running Ruby applications in browsers, WASI compatible WebAssembly runtimes, and Edge Computing platforms. @ruby/4.0-wasm-wasi CRuby ...