If you’ve ever been to a military surplus store (or actually served in the military), you’ve probably seen MRE’s. These are “Meals Ready to Eat” (thus the abbreviation), which consist of foods that can be stored for long periods of time and eaten without the need to add anything to them except water. I have a friend who used to bring these on camping trips, and the food actually isn’t that bad. Thus, having some on hand in case of emergency is a good idea. Of course, you don’t necessarily need to spend the money on official MRE’s.
This Instructables guide walks you through the process of putting together your own rations. The basic idea is to include nutritional food that will last for long periods of time and can be either eaten dry, or only need water. Once you’ve assembled a collection of food, just use a vacuum sealer to make sure that they are air-tight. Then you can store these in someplace easily accessible, or take them with you on long trips, just in case.