try to set the rails environment explicit