What sort of plastic is it?
If it is polyethylene or polypropylene, then very few glues will stick to it. If it is Nylon, PVC, Polystyrene or Acrylic then you have more options. In the unlikely case that it is teflon or silicone, then nothing will stick.
The reason is a property of materials called
Surface Energy in short liquids will only wet a solid if their surface energy is lower than the solid. If it is higher then it will just bead off like water on an oily surface. The plastics I mentioned have a very low surface energy, and very few liquid glues are lower so they won't stick.
Don't use a bike repair kit. It is not actually glue, but a rubber vulcanizing compound that causes rubber molecules to crosslink to each other. It will have no effect on non rubber, so you can't use it to stick rubber to something that is not rubber.
I would say your best bet would be silicone bath sealant. Both because is is flexible even when dry, and because it has a lower surface energy than anything except teflon so should stick to everything else.