From: Tibur Tibur Date: 2010-03-20T00:07:51+09:00 Subject: C embedding problem with 1.9 Hello. I can't manage to make the attached program to work with ruby 1.9. When I run the program, it complain about unknown variable 'a'. Here is the exact error. undefined local variable or method `a' for main:Object If I compile it using ruby 1.8, it works perfectly. It occurs both on win32 and Ubuntu 9.10. I tried ruby-1.9.1p243 on linux, and ruby-1.9.1-p376 on windows. I also tried using a fresh build of the last version from the ruby CVS. Any idea about the initialization error I certainly made ? Thanks, Thibaut Attachments: http://www.ruby-forum.com/attachment/4603/RubyTest.c -- Posted via http://www.ruby-forum.com/.