Ramirez scattered four hits and struck out four while walking none.
Kyle Seager and John Buck each had a sacrifice fly for Seattle.
Cubs starter Jeff Samardzija allowed two runs on six hits, walked two and fanned eight in 5 1/3 innings.
UPI horse racing weekend preview
Bo Jackson: I can't help Jameis Winston anymore