Created
March 20, 2022 23:54
-
-
Save ongaeshi/113dc02ea6d8652071092b240b429aff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone https://github.com/kateinoigakukun/ruby.wasm.git | |
$ cd ruby.wasm/packages/npm-packages/ruby-wasm-wasi/ | |
$ npm install | |
$ npm install --save ruby-head-wasm-wasi | |
# Need this? | |
$ cp -r node_modules/ruby-head-wasm-wasi/dist/ . | |
$ cd example | |
$ npm install | |
$ npm run build | |
$ ruby -run -e httpd . -p 8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/kateinoigakukun/ruby.wasm/blob/main/packages/npm-packages/ruby-wasm-wasi/