1.9 block parameters

I’ve tried both netbeans and textmate. Neither of them like the 1.9
block param syntax:

foo = ‘this is an external variable’
bar = 23

10.times do |i;foo|
bar = bar + 1
foo = bar % 2
end

Is there something I need to do to the editors?

I tried (in netbeans) setting different versions of ruby.