Listen to raise in ruby