From: Tibur Tibur Date: 2010-03-20T01:05:50+09:00 Subject: Re: C embedding problem with 1.9 I am still stucked. The follwing code produce the error : undefined method `synchronize' for # int main(int argc, char ** argv){ int state; ruby_sysinit(&argc, &argv); RUBY_INIT_STACK ruby_init(); ruby_init_loadpath(); ruby_script("embed"); rb_eval_string_protect("$mutex = Mutex.new", &state); checkRubyError(state); rb_eval_string_protect("$mutex.synchronize() { }", &state); checkRubyError(state); return 0; } -- Posted via http://www.ruby-forum.com/.