We propose a scheme to generate quantum entangling gate using one-dimensional surface plasmon waveguide. The protocol is based on the detection of the transmission spectrum of the single optical plasmons passing through two separate three-level emitters on metallic nanowire waveguide. It is shown that the low efficiency in direct detection of the single photon can be avoided by repeating the measurement of the transmission spectrum.