I always have a pump mounted on the frame as well as a CO2 inflator in the tool kit (along with a spare tube, patches, tools, etc).
If it's raining or cold, I'd use the CO2 for convenience, and the pump for when I'm not in a hurry or as a backup. If I only had to pick one though, it would be the pump, never runs out of air, just test it regularly.