This is an intentionally simple cocktail: rum, lime, ginger beer, and optional bitters. It is easy to build without a shaker and works well with the compact bar setup most cruising boats actually have.
Small cans or bottles of ginger beer reduce waste when making one or two drinks. Bottled lime juice is a workable backup when fresh citrus runs out.
Alcohol and boat operation do not mix. Make this only after the vessel is securely anchored, moored, or docked and all navigation and boat-handling responsibilities are finished.
Boat-safety note: Save alcoholic drinks for when the boat is securely anchored, moored, or docked and the person responsible for operating the vessel is not drinking.
Lighter version: Use 1 ounce rum and extra ginger beer.