Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Monocoque Ruby (mqrb)

Build Status MIT License

Summary

Monocoque-Ruby(mqrb) is quick and easy executing Ruby code that runs on the WebBrowser.

(This project is still a work in progress.)

More

The final aim of mqrb is a skeleton is generated with one command and try ruby on the webbrowzer.

How to use

gem install mqrb
mqrb create-app myapp --runtime=mqrb-with-compiler

How to build

Native Build

Require tools

  • Ruby (CRuby)

  • CMake

  • Clang

  • Emscripten

    • This project use emcc command. For details, please refer to the official website.

Build

make wasm-production

Docker

  1. docker build --no-cache -t emscripten:mqrb .
  2. docker run -dit --name emscripten -v $(pwd):/src emscripten:mqrb bash
  3. docker exec -it -e MRUBY_CONFIG="../../tools/mruby-patcher/build_config.wasm.rb" emscripten make wasm-production

License

MIT License.

About

Ruby on Browser [call javascript method from ruby]

Resources

Releases

No releases published

Packages

No packages published