From: pjb@... (Pascal J. Bourguignon) Date: 2009-02-02T21:34:52+09:00 Subject: Re: problem with Hello World test, window shut instantly Blackthirteen Blackthirteen writes: > Hello, I’m new to ruby. So I started with the famous Hello World program > after installing Ruby. > > When I save a program as test.rb and I run it, the window open but shut > very quickly. How can I see my results once I run the program I made? I would use emacs, both as an editor and as a shell window in which to run ruby programs. Emacs can also be used to drive an interactive ruby session (irb). http://www.gnu.org/software/emacs/windows/Introduction.html Launch emacs, Read the tutorial (Control-h t). Then you can launch a shell with: M-x shell RET and type there your commands, such as: ruby hw.rb For interactive ruby: M-x run-ruby RET You can edit your files: C-x C-f hw.rb RET etc... -- __Pascal Bourguignon__