Fix raise error when using padrino app