Skip to content

Instantly share code, notes, and snippets.

@ongaeshi
Created March 20, 2022 23:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ongaeshi/113dc02ea6d8652071092b240b429aff to your computer and use it in GitHub Desktop.
Save ongaeshi/113dc02ea6d8652071092b240b429aff to your computer and use it in GitHub Desktop.
$ 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