Hyun-Jin Ryu pitched seven strong innings, Adrian Gonzalez reached base five times and the Los Angeles Dodgers beat the Pittsburgh Pirates 5-2 on Monday night.