Since sometime in the early '90s, the S&W revolvers have been drilled and tapped for scope bases. There are Weaver sight bases that attach to the holes drilled under the rear sight. Weigand among others makes the base. Easy to attach, just remove the rear sight. The Burris sight attaches to the rail with a Weaver base.
Ruger isn't drilled and tapped for this. You would have to have that done.