Add derailed_benchmarks gem.

This commit is contained in:
evazion
2021-12-16 00:24:46 -06:00
parent 51a4daef47
commit 3fcecd59a8
4 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
// This is the config file for Sprockets. Danbooru doesn't use Sprockets, but
// we still need this file anyway because the derailed_benchmarks gem doesn't
// work without it. derailed_benchmarks does `require "rails/all"`, which loads
// Sprockets, which fails if this config file isn't present.
//
// https://github.com/rails/sprockets-rails/issues/444
// https://github.com/zombocom/derailed_benchmarks
{}