Steve wrote:
> I'm new to ruby and programming (although I did dabble in BASIC with my
> Commodore 64 back in the 80's)  I'm running Ruby with Windows XP.  I'm
> having a problem when I run this simple program:
>
> puts 'Hello, world!'
> puts ' '
> puts 'Good-bye'
>
> When I run the program, a window appears that says "Hello, world!  Good-Buy"
> and then the window immediately disappears.  How do I get that window to
> stay open after it has run the program?
>
> Thanks for your help,
>
> Steve

First, start a DOS-box (or command-line interface):

Start / All programs / Accessories / Command Prompt

Assuming your path is set correctly, then type:

ruby myprog.rb