Skip to content

Chadowo/mruby-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MRuby Examples

MRuby examples to demonstrate usage.

Compiling

Get MRuby

Make sure to have MRuby installed, see here.

If you are on Linux chances are MRuby is already in the package repositories of your favorite distro! then you'll need to use your distro specific package manager to install it. E.g:

APT:

sudo apt install libmruby-dev

DNF:

sudo dnf install mruby-devel

Pacman:

sudo pacman -S mruby

That will install all the development headers needed to use MRuby.

Build

In the root of this repo:

mkdir build && cd build
cmake ..
make

Summary

Examples included here:

Credits

Credits where due, here are some helpful articles/post/resources that helped me to learn how to use MRuby:

License

All the examples found here are licensed under the MIT license.