Merge pull request #10095 from opf/fix/zeitwerk-ignored-autoload

Remove ignoring bundle paths from eager load
pull/10110/head
ulferts 3 years ago committed by GitHub
commit 7c40e18fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      config/initializers/zeitwerk.rb
  2. 3
      config/storage.yml

@ -71,7 +71,6 @@ end
Rails.autoloaders.main.ignore(Rails.root.join('lib/plugins'))
Rails.autoloaders.main.ignore(Rails.root.join('lib/open_project/patches'))
Rails.autoloaders.main.ignore(Rails.root.join('lib/generators'))
Rails.autoloaders.main.ignore(Bundler.bundle_path.join('**/*.rb'))
# Comment in to enable zeitwerk logging.
# Rails.autoloaders.main.log!

@ -0,0 +1,3 @@
local:
service: Disk
root: <%= Rails.root.join("storage") %>
Loading…
Cancel
Save