Hey BatRay,
you can either use a polyurathane based glue or (my personal preference) a tape that sticks both ways, appropriate for marine use.
I have used both. The first needs A LOT of precaution cause if you don't stick the rail straight, you will ruin you gun to take it of. However if you decide to use this kind of glue before you start the process, you have to cover with tape all the barrel except from the part that the rail will stick in order not to mess up your barrel with glue.
Then you stick a shaft onto the rail with some tape that sticks both ways (not for marine use) in order to keep the rail straight.
Using a shaft you place aligned marks on the barrel, near the muzzle and entrance of trigger mech, in order to have some reference points when you stick the rail.
Underneath and alongside the rail, you apply a hefty amount of glue and then you stick it on the barrel.
You have to be EXTRA careful to align the rail+shaft with the muzzle and the entrance of the trigger mech.
Then you press the rail forcefully against the barrel in order for the excess glue to come of the edges of the rail (that's why you need to cover the rest of the barrel). This way you'll be sure that there will be glue in every spot underneath the rail.
Then you tape together really tight and always being carefull not to ruin the alignement of the rail (a duct tape will do), the barrel and the rail+shaft
and you leave it for 24h to completely dry. After that the rail will stay there FOREVER!
You can also use underneath your rail, a two-way tape for marine use. I have used that (the tape I used is by 3M, I think Omer uses the same for their rails) on a gun it the rail is still there after 2 1/2 years.
Have fun sticking things together!
