-
Notifications
You must be signed in to change notification settings - Fork 5
Build and Install
Soichiro Isshiki edited this page Feb 1, 2025
·
3 revisions
First of all, install Rust nightly. Check here to install Rust
Caution!! only nightly Rust works for monoruby. See here to work with nightly Rust.
> git clone https://github.com/sisshiki1969/monoruby.git
> cd monoruby
> cargo run test.rb
or
> cargo run --release -- test.rb
for release build.
one liner.
> cargo run -- -e "puts 100"
> cargo run --bin irm
or
> bin/irm
To install monoruby,
> cargo install --path monoruby
Now, you can play with monoruby,
> monoruby test.rb
and its REPL.
> irm