Bharat Ruparel schrieb:
> ...
>> ruby ex0261.rb
>> Exit code: -1073741510
> ...

This is a typical problem when running a program from inside "SciTE" and and an 
input request occurs. This exit code "-1073741510" will be produced by the 
one-liner "gets".

In this case it is necessary to open a windows console and start the program by 
"ruby <program>" or simply by typing "<program>.rb" (the program name including 
the extension), because the extension is registered an ruby will be started 
automatically.

But - the shebang will NOT work in a windows environment at all.

Wolfgang Ndasi-Donner