Fix rake not loading the rails environment first.