The Los Angeles Dodgers announced Thursday that shortstop Hanley Ramirez will undergo surgery to repair a torn ligament in his right thumb and is expected to miss about eight weeks.