i have no experience with guns
but it seems to me that you would carry a gun
the same way you carry any other small to medium size object
that you need to access quickly while on a bike
you would carry it in a messenger bag
perhaps sew a pocket or holster in one corner of the bag