get tool working on rubinius, fixes #2