Shake gin, lime juice, and raspberry syrup with ice. Strain into a highball glass with ice. Top with ginger beer.