Btw, this wasn't a stainless rifle, just a blued barrel and black synthetic stock but it was enough to stick out from that distance. This why I don't have a stainless rifle. I have had times since then when I was sure they spotted the gun but I have never had another deer walk over and check it out.
That deer wasn't spooked by the sight of your rifle. They aren't dumb animals, but the sight of a gun isn't going to tip them off. Think about it, if a deer is smart enough to know what a "gun" is, the deer would be smart enough to know that it takes a human to shoot the gun.
I too have had a couple of does walk with 3 feet of me. When they got that close, they spooked too. They likely caught enough of your smell to know that something wasn't right and got out of there.