rescue SystemExit, Interrupt raise
rescue Exception => e #...end
you can use SystemExit, Interrupt classes to exit from script with Ctrl+C
you can use