rails_12factor gem only required on heroku

We found this problem with non-heroku
environment that because of this gem
production/staging logs are not printed