I have not shot either, nor held either; but I'd probably go with the Glock, all other things considered (which is to say, not considering anything other than name recognition). Price of the gun should be trivial, since you'll likely burn more $$$ in ammo than on the gun purchase.
IIRC, LC9 has a safety, but it is ambidextrous. Given the striker design, you might be able to ignore it... or feel guilted into using it. No external safety on the Glock.
Some people hate the grip angle on the Glock, and would buy anything else on that sole premise. I forget if the Glock can take magazines of the other models (the G19 can take the higher round count G17 mags, for example).
I don't know if it matters to you or not; but I know Glocks come with that polygonal rifling that does not like lead bullets--not sure if Ruger followed that or not. There are aftermarket Glock barrels with standard rifling that can handle lead bullets. If you aren't reloading though, then you are likely running plated bullets and won't care either way.