Fixed bug: Auto reloading in development Rails env is broken.

This commit is contained in:
Thorsten Eckel 2019-04-06 17:22:38 +02:00
parent 55bbda9969
commit fcd0708e9a

View file

@ -32,7 +32,7 @@ module Mixin
sub_paths.push(sub_path) sub_paths.push(sub_path)
elsif sub_path =~ /\A(.*)\.rb\z/ elsif sub_path =~ /\A(.*)\.rb\z/
require_path = $1 require_path = $1
require(require_path) require_dependency(require_path)
end end
end end