Fixed bug: Auto reloading in development Rails env is broken.
This commit is contained in:
parent
55bbda9969
commit
fcd0708e9a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue