lib/dry/system/booter.rb in dry-system-0.14.0 vs lib/dry/system/booter.rb in dry-system-0.14.1

- old
+ new

@@ -49,11 +49,11 @@ # @api private def load_component(path) identifier = Pathname(path).basename(RB_EXT).to_s.to_sym - require path unless components.exists?(identifier) + Kernel.require path unless components.exists?(identifier) self end # @api private @@ -153,10 +153,10 @@ def require_boot_file(identifier) boot_file = boot_files.detect { |path| Pathname(path).basename(RB_EXT).to_s == identifier.to_s } - require boot_file if boot_file + Kernel.require boot_file if boot_file end # @api private def boot_files ::Dir["#{path}/**/#{RB_GLOB}"].sort