Heroku recommends not using Foreman as a gem, and indeed doing it this way causes bugs to crop up in development runs.