Skip to content

noontage/monocoque-ruby

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published