i,

In message "Re: ruby-dev summary #20316-20338"
    on 03/07/16, ts <decoux / moulon.inra.fr> writes:

| This is a problem : plruby fail its test just because ruby_running was not
| set. 
|
| After setting this variable it worked fine.
|
| Needless to say that persons which embed ruby will have problems (and it
| exist if I'm right only one method to set this variable).

Does this patch work for you?

--- eval.c	16 Jul 2003 09:23:33 -0000	1.482
+++ eval.c	17 Jul 2003 05:23:49 -0000	1.483
@@ -1202,2 +1201,3 @@ ruby_init()
     ruby_scope = top_scope;
+    ruby_running = 1;
 }
@@ -1367,3 +1367,2 @@ ruby_exec()
     Init_stack((void*)&tmp);
-    ruby_running = 1;
     PUSH_TAG(PROT_NONE);