Robert Feldt said:
> feldt@novomundo1 /tmp/using_ruby_dl/test
> $ ruby test.rb
> Hello!
> 1
> (eval):5: [BUG] Segmentation fault
> ruby 1.8.0 (2003-09-06) [i386-cygwin]
>
> Segmentation fault (core dumped)

Would you try to rebuild ruby-dl by
"ruby extconf.rb --enable-dlstack"?
-- 
Takaaki Tateishi <ttate / ttsky.net>