Ruby hanging

I have some code which seems to hang Ruby, I’m running on Windows and
using
Scite. I execute and a command window opens, remains blank and nothing
happens.
Is there a way to get it to spit out an error messages when it’s in that
state ?

TIA
Stuart

TIA
Stuart

If you are just double clicking on your programs to run them I would
suggest opening a stand alone command line and then running your program
from it so it won’t close with the error messages when the program
exits.

Tait P.

I’m run my programs in Scite and have bumped into this before and have
to
issue a ‘stop executing’ through Scite.
I’m past the problem now with this particular piece of code but still
curious as to why it might happen and more so, why there is no error
messages produced.

Stuart