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 K.


On 6/11/06, David K. removed_email_address@domain.invalid wrote:

please let me know.
Try opening a console window and executing them by explicit command,
“ruby hello.rb”, so that you can see any error messages without the