Use fail_with rather than fail