Acceleration effects for linearly-stratified flow over long ridges