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 ?
Posted via http://www.ruby-forum.com/.