Suraj N. Kurapati wrote:
> Why does this example fail with Ruby 1.9.0 ?

 For 2 reasons

 * you don't make a full initialisation of the interpreter, i.e. you
 are missing a call to Init_prelude() after ruby_init_loadpath()

 * you never protect your program against error that ruby can
   generate

p.s.: it's normal that Init_prelude() is not declared in any include
 file ?


Guy Decoux