# MRI will exit on ^C, but no dice on Rubinius: we swallow all exceptions in the signal threadtrap('INT') { raise Interrupt, nil }loop do begin sleep 5 rescue Interrupt puts "kapow!" exit endend