Use fail instead of die, because there is no die in Ruby