Sorting libraries before require to avoid load order issues on server
This commit is contained in:
parent
e6aff6d37c
commit
2c61102f1b
|
@ -1,3 +1,3 @@
|
||||||
Dir[File.join(File.dirname(__FILE__), "core", "*.rb")].each do |file|
|
Dir[File.join(File.dirname(__FILE__), "core", "*.rb")].sort.each do |file|
|
||||||
require File.expand_path(file)
|
require File.expand_path(file)
|
||||||
end
|
end
|
Loading…
Reference in New Issue