Hyun-Jin Ryu stretched his road scoreless streak to 26 innings, and the Los Angeles Dodgers beat the San Francisco Giants 2-1 Thursday to avoid a sweep.