Ruby samples not working

I recently installed ruby on windows XP with the latest ruby one-click
windows installer. I selected all the components that came up in the
installation list.

For some reason though, most of the samples do not work. Double clicking
on them brings up the ruby terminal, then it just disappears a split
second later. Does anyone know why this would be happening? hello.rb
works, as do some others, but the rest don't.

I'm fairly new to programming, so if i'm missing something obvious
please let me know.

David Kirkpatrick

···

--
Posted via http://www.ruby-forum.com/.

Try opening a console window and executing them by explicit command, like
"ruby hello.rb", so that you can see any error messages without the window
disappearing.

Curt

···

On 6/11/06, David Kirkpatrick <djk_1200@hotmail.com> wrote:

I recently installed ruby on windows XP with the latest ruby one-click
windows installer. I selected all the components that came up in the
installation list.

For some reason though, most of the samples do not work. Double clicking
on them brings up the ruby terminal, then it just disappears a split
second later. Does anyone know why this would be happening? hello.rb
works, as do some others, but the rest don't.

I'm fairly new to programming, so if i'm missing something obvious
please let me know.