fixing issue with assets not enabled in production

tries to solve:
https://github.com/rails/sprockets-rails/issues/58