>>>>> "J" == John Cook <john.cook / bjss.co.uk> writes:

J> I am trying to execute a simple script from with a C program, but with
J> little success. The version of Ruby is 1.6.3, running under Linux and Cygwin
J> 1.1.8 on Windows 2K. I get the same error on both systems.

 On linux the file must be compiled with

 -rdynamic -lm -lruby -lcrypt -ldl

J>         ruby_run();
J>         printf("Done.\n");

 ruby_run() make a call to exit, this mean that printf("Done.\n"); will
never be executed

J>         return 0;
J>     }



Guy Decoux