In the 69th minute Ritchie tried his luck from 30 yards but his drive sped wide.
Minutes later McGovern made another save, albeit Naismith’s powerful header from a Ritchie corner came straight at him.
The Irish rallied in the final stages but with five minutes remaining Berra headed in from a Ritchie corner to give the Scots a morale-boosting win.
Visiting keeper Michael McGovern made several saves in the first half to keep an enterprising home side at bay, most notably from Steven Fletcher and Ikechi Anya.
The home side also had the best of a second half which was punctuated with substitutions but it was not until the 85th minute that the Ipswich defender, on for Russell Martin, headed in a corner from debutant Matt Ritchie.
SCOTSMAN TABLET AND MOBILE APPS