fixing heroku rails generator

Please review my fix for the heroku rails generator fix
:)