I keep baling wire and duct tape in my "travel kit".

In that kit are also "rubber" gloves (latex and/or nitrile, in case my truck has allergies) - they would serve well as a temporary gas cap.