This is an example of using mruby embedded in an OS X application. You should be able to clone this repo and open it using XCode 4 then build and run.
If you want to build the framework here for yourself see the shell script found in this building mruby for embedding in OS X gist.
Files of note:
- test.rb - This is the Ruby code for the example and has to be compiled into test.mrb before changes will take place.
- test.mrb - This is the compiled version of test.rb.
MIT to match the mruby license. See the LICENSE file for full license.