New to ruby, seg fault

Im using ruby on windows, with the SciTE editor, a simple 2 line program;

print "Enter your name: "
name = gets

causes the message:

ruby test.rb
test.rb:2: [BUG] Segmentation fault

abnormal program termination

Exit code: 3

I’ve looked through the documentation, im probably missing something really
obvious, any ideas ?

Thanks in advance.

That’s odd. Have you tried “hello world”?
Send me your program.

···

Im using ruby on windows, with the SciTE editor, a simple 2 line program;

print "Enter your name: "
name = gets

causes the message:

ruby test.rb
test.rb:2: [BUG] Segmentation fault

abnormal program termination

Exit code: 3

I’ve looked through the documentation, im probably missing something really
obvious, any ideas ?

Thanks in advance.