Skip to content
Permalink
Browse files
Log the CodeDB loaded on boot.
  • Loading branch information
brixen committed Feb 28, 2016
1 parent 448cc0a commit cfca89f73951599f59b9afbb12be375df899585e
Showing 1 changed file with 3 additions and 0 deletions.
@@ -634,9 +634,12 @@ namespace rubinius {
void Environment::load_core(STATE, std::string root) {
try {
if(CodeDB::valid_database_p(state, config.codedb_core_path.value)) {
utilities::logger::write("loading CodeDB: %s", config.codedb_core_path.value.c_str());
CodeDB::open(state, config.codedb_core_path.value.c_str());
} else {
std::string core = root + "/core";

utilities::logger::write("loading CodeDB: %s", core.c_str());
CodeDB::open(state, core.c_str());
}
} catch(RubyException& exc) {

0 comments on commit cfca89f

Please sign in to comment.