Sam Hoskins and Danny Rose struck in the first-half before Alan Sheehan's free-kick sealed the deal within two minutes of the restart. Here are our player ratings...
5. Jack Sowerby
He got through a lot of good work out of possession, regularly putting his foot in and winning headers to halt Gillingham's progress. Tidy, if not particularly expressive, on the ball... 7 Photo: Pete Norton
6. Shaun McWilliams
His absence during the last three matches has been keenly-felt by Town so it was a boost to have him back and, like Sheehan, he made a big difference. Broke up play numerous times and led the forward charge from deep... 7.5 Photo: Pete Norton
7. Ryan Watson
Has found himself out of the side after a recent dip in form but he was back to somewhere near his best here with an excellent display. Most advanced of the central trio and knitted together Town's midfield and attack... 7.5 Photo: Pete Norton
8. Nicky Adams
Pushed back quite deep at times so not able to express himself as much as Town would have liked, though one pinpoint cross did find Hoskins. Disciplined and hard-working out of possession... 7