add missing dependencies
merge r27237 from internal svn (redmine #2883). fixes old Rose::DB dependency bug.