RBEN is a tool to Benchmark Ruby code inside the browser. This project is a fork of run.rb.
This project compiles Ruby to WebAssembly. Inside /emscripten you'll find (currently) Ruby 2.6.0 and the tooling required to compile Ruby to WASM.
<Rben
Globals={['puts "hello"']}
Cases={['puts "hello"']}
/>git clone https://github.com/tseijp/rben
cd rben
yarnRun the development server:
yarn startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. Your site starts at http://localhost:3000.
yarn buildThis command generates static content into the build directory
and can be served using any static contents hosting service.
GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy