When I mounted the rail on my Ruger Mark III 22/45 Lite, the instructions said to clean the threads of any oil, use Alcohol on a Q tip, get right into the threads and don't leave any fuzz, do the screws also. and use RED locktite.
Red L/T used correctly is permanent and needs heat to release. BLUE locktite is the color of choice, rings and bases should be done. -- A little, as in not much
Silicone weather sealer on the inside of the rings can help if the tube slips. don't over tighten the tube screws, Never saw 22 shoot loose a scope with blue L/T
I cleaned the threads with alcohol, and used BLUE locktite, because that's what I had.
It shot loose in less than 100 rounds.
I then re-cleaned the threads and applied RED locktite. 500 rounds later, its still secure.
and it will be for a long, long time
I hope that the gorilla glue works for you, but you do know that it's not intended to be used as a thread locker, right? nuff said about the G glue