>>>>> "J" == Jaen Saul <jaen / saul.ee> writes:

J> So what's my point? How to fix this? I don't know :) I'm just trying to
J> warn
J> all the people that embed Ruby. Please call ruby_init() in main() so the
J> GC
J> can find your objects :)

 plruby (procedure language for PostgreSQL) fix this (for its *particular*
 case) in its version 0.3.3 (see the source)

 You can look also the function rb_thread_restore_context() to have another
 idea. 


Guy Decoux