Rays hold on late, beat Rangers 8-6