The trick with the gasket is to push it in on both sides at the same time,
so ideally have 2 people, one on each side of the glass, pushing it in as
you go. If you stretch it a bit as you push it in, it should go in and the
shrink back up as you release it and stay in.

The ribbed sides go on the glass side

Rubber gasket seal