Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.03 KB

File metadata and controls

36 lines (27 loc) · 1.03 KB

Embedded Ruby in U++

This repository contains two projects which aim at trying to embed a Ruby (1.9) virtual machine in C++ applications written using the U++ framework.

Instructions below are mandatory to make the project work correctly, so please FOLLOW THESE INSTRUCTIONS!

Support

These packages currently work under Linux only. They have been tested on the following systems:

  • Gentoo (Funtoo) 64bits

  • Fedora 12 32bits

Installation instructions

  1. DO NOT OPEN THE Rb OR RbTest PROJECTS USING THEIDE YET!!!

  2. Clone this repository

  3. Create symbolic links to the 2 folders in one of your assemblies (MyApps or bazaar for example)

  4. Install Ruby 1.9 in the Rb/ruby-dist prefix. The easiest way to do so is to type:

    make -C <path_to_assembly>/Rb

    This will try to download, compile and install Ruby1.9 in the correct folder.

  5. Once Ruby is successfully installed, fire up theIDE and open the RbTest project

  6. Compile it

  7. Enjoy

  8. Hack it

  9. Enjoy more