This should probably be done before ohai is told to reload its attributes, just in case it loads which gems are installed.