creating a VM object through the direct constructor does not work at all, it simply freezes the program somewhere in
some exception handling stuff inside ruby
example1 (this starts looping):
Rice::VM * vm = new Rice::VM("/home/oliver/testfile.rb");
example2 (how it works):
char test[] = "/home/oliver/testfile.rb";
char nothing[] = "anything";
char * arguments[2] = {nothing, test};
Rice::VM * vm = new Rice::VM(2, arguments);
maybe this happens because ruby tries to drop the first argument since that is (on linux) the filename of the executable |