opal

Transpiles Ruby code to JavaScript for running in browsers

brewmacoslinux
Try with needOr install directly
Source

About

Ruby to JavaScript transpiler

Commands

opal

Examples

Compile a Ruby file to JavaScript$ opal -c myfile.rb
Start the Opal REPL for interactive Ruby-to-JS$ opal
Compile and watch Ruby files for changes$ opal -c --watch myfile.rb