rails: remove sprockets references.

Remove a dummy Sprockets config file needed to get `bin/derailed` to
run. This is no longer necessary since Rails 7.0 no longer depends on
Sprockets.
This commit is contained in:
evazion
2022-01-07 14:49:14 -06:00
parent 450594b803
commit 346aeca791
2 changed files with 0 additions and 9 deletions

View File

@@ -1,8 +0,0 @@
// 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
{}

View File

@@ -17,7 +17,6 @@ require "active_job/railtie"
# require "action_mailbox/engine"
# require "action_text/engine"
require "rails/test_unit/railtie"
# require "sprockets/railtie"
# Load the gems for the current Rails environment from the Gemfile.
Bundler.require(*Rails.groups)