Fixed ruby version check error in sax parser.