I had another shifty that broke the clamp on the clutch lever, leaving it dangling from the bars, and no way to shift.
Got some Krazy Glue from the liquor store, glued the lever and busted clamp to the bars, had a smoke while it dried, and made it home, at least 10 mile ride.
Then forgot about it. About two years later I couldn't figure out why I couldn't get my clutch lever off when I was changing the bars...
Another inner tube fix I used on a bicycle a long time ago when I was stranded at the beach, 14 miles from home, was stealing a roll of duct tape out of the back of a pickup truck, slide the tube out of the tire while still on the bike, wrapped the inflated tube super tight with duct tape where the hole was and filled it up at the gas station.
It made a noticeable hop while riding, but it was a bicycle, and it got me home.
Another running out of gas trick, is find a gardener and bum some fuel off them. In southern California, gardeners are everywhere, year round.
Bubble gum will plug a pinhole fuel leak, or a seam split, or at least keep it from spraying out. Might have to use the whole pack of gum, depending on how far you have to go.