diff --git a/lib/mixin/required_sub_paths.rb b/lib/mixin/required_sub_paths.rb index 38eb22b13..ef558b2ba 100644 --- a/lib/mixin/required_sub_paths.rb +++ b/lib/mixin/required_sub_paths.rb @@ -32,7 +32,7 @@ module Mixin sub_paths.push(sub_path) elsif sub_path =~ /\A(.*)\.rb\z/ require_path = $1 - require(require_path) + require_dependency(require_path) end end