fix heroku rake task for rails apps