diff --git a/lib/kuroko2/engine.rb b/lib/kuroko2/engine.rb index c31e0ae7..76495d57 100644 --- a/lib/kuroko2/engine.rb +++ b/lib/kuroko2/engine.rb @@ -18,6 +18,7 @@ class Engine < ::Rails::Engine end config.autoload_paths << root.join('lib') + config.eager_load_paths << root.join('lib') initializer "kuroko2.configuration" do |app| URI.parse(Kuroko2.config.url).tap do |url|