remove a warning in ruby -v ($xmldir not defined)