Land #4264, reload_all should complain

bug/bundler_fix 2014120301
Tod Beardsley 2014-11-26 10:37:28 -06:00
commit c0be32eac1
No known key found for this signature in database
GPG Key ID: BD63D0A3EA19CAAC
1 changed files with 10 additions and 0 deletions

View File

@ -205,6 +205,16 @@ class Core
end
print_status("Reloading modules from all module paths...")
framework.modules.reload_modules
# Check for modules that failed to load
if framework.modules.module_load_error_by_path.length > 0
print_error("WARNING! The following modules could not be loaded!")
framework.modules.module_load_error_by_path.each do |path, error|
print_error("\t#{path}: #{error}")
end
end
cmd_banner()
end