Horrible hacks to fix some inconsitencies between heroku gem and my gem version.