The Scotland second row will join Sale Sharks at the end of the season, but demonstrated his commitment to the Warriors’ cause with the score which sent Glasgow to the top of Pool 3 ahead of next week’s trip to Dublin, where defending champions Leinster lie in wait.
Gray said: “Duncan (Weir) went for the drop goal, I saw there was a touch on it and it was the bounce of a rugby ball — right place at the right time. The main focus was to give everything in a Warriors shirt while I’m still here. That is the focus for me and that’s the way I’ll always be.”
Gray’s stoppage-time effort upstaged the debut of Bath’s World Cup-winning fly-half Stephen Donald. Donald had kicked the visitors into a 21-19 lead after 79 minutes after replacing Tom Heathcote, who had a 100% record from six penalties.
But Gray, who reached the ball ahead of team-mate Rob Harley after Weir’s drop-goal attempt was blocked, ensured Donald’s first appearance since lifting the Webb Ellis Cup after the All Blacks beat France in Auckland three weeks ago ended on a losing note.
Weir kicked the conversion to take his personal tally to 16, while full-back Stuart Hogg also scored a try for the hosts.
Bath must now bounce back when they meet Montpellier at the Rec next weekend.
GLASGOW: Hogg, Seymour, Dewey, Morrison, Shaw, Weir, Cusiter, Grant, MacArthur, Cusack, Gray, Kellock, Harley, Barclay, Wilson.
Replacements: Aramburu for Seymour (63), Nathan for Dewey (56), Hall for MacArthur (56), Kalman for Cusack (63), Ryder for Kellock (56), Fusaro for Barclay (64).
BATH: Abendanon, Woodburn, Hipkiss, Vesty, Biggs, Heathcote, Claassens, Flatman, Batty, Wilson, Hooper, Caldwell, Louw, Mercer, Taylor.
Replacements: Donald for Heathcote (68), McMillan for Claassens (74), Beech for Flatman (63), Perenise for Wilson (63), Attwood for Caldwell (63).