Fix for https://github.com/rails/sprockets-rails/issues/45