From: Dave Thomas Date: 2008-01-09T13:57:23+09:00 Subject: Re: Embedding 1.9 On Jan 8, 2008, at 8:34 PM, Yukihiro Matsumoto wrote: > > I'm sorry but I am no gems expert, but basically gems should work if > you initialize the load path properly. I'm not sure how to call this method: static void ruby_init_gems(struct cmdline_options *opt) { VALUE gem; gem = rb_define_module("Gem"); rb_const_set(gem, rb_intern("Enable"), opt->disable_gems ? Qfalse : Qtrue); Init_prelude(); } from code that embeds Ruby. It is called from process options, but process options does too much. Dave