Ramirez, a first-generation Mexican American, played high school baseball for Saddleback High School in Santa Ana, California, and college baseball for the Cal State Fullerton Titans. The San Francisco Giants drafted Ramirez in the 11th round in the 1998 MLB draft. He spent seasons with the Giants organization before being traded with and Chris Magruder for Andrés Galarraga on July 24, 2001. ;Texas Rangers Ramirez made his major league debut with the Texas Rangers in 2003. That season, he compiled a 3–1 record with a 3.86 ERA and 28 strikeouts in 49 innings pitched and allowed just 9 walks. He played parts of 2004 and 2005 in MLB with the Rangers. In 2006, after the Rangers had signed more relievers, Ramirez was optioned to the Oklahoma Redhawks, their Pacific Coast LeagueTriple-A affiliate. Ramirez spent the entire 2006 season with the Redhawks and then became a free agent. ;Oakland Athletics On November 20, 2006, the Oakland Athletics signed Ramirez to a minor league contract. He began the 2007 season with their Triple-A affiliate, the Sacramento River Cats, and was promoted to the major league club on May 25. Ramirez played three games for the Athletics; he also had an 18-day stretch during which he did not play at all. Ramirez was designated for assignment by the Athletics on June 16, 2007, and became a free agent. ;Florida Marlins The Florida Marlins signed Ramirez on June 20, 2007, and assigned him to Triple-A Albuquerque of the Pacific Coast League. On July 2, 2007, Ramirez had his contract purchased by the Marlins and he returned to the major leagues. He played just four games for the Marlins and was designated for assignment on July 13, 2007, and was outrighted to Triple-A five days later. Ramirez signed a minor league contract with the Milwaukee Brewers in January 2008, and played for their Triple-A team, the Nashville Sounds, during the 2008 season. He became a free agent after the season and signed a minor league contract with the Chicago White Sox, but did not play for any of their farm teams. Ramirez had excellent control of his pitches and did not walk many batters. He walked just 1.74 batters per 9 innings in 114 major league innings.