I believe this is due to a bug (for now) in rbx.exe regarding local variables. I think the current advice is to make the variable a global like so: @a = [1, 2, 3] Hope this helps Terence