So I figured out what was going wrong. The Heroku tool belt does not load when you run rake tasks, this means that you must install the Heroku gem in your development group to use Heroku commands in rake tasks. Just a gotchya with Heroku tool belt everyone should know about.