rails_12factor gem only required on heroku

We have found this problem with non-heroku environments.

Because of this `rails_12factor` gem production/staging logs are not
being generated