It doesn't destroy, say, chargrilled meat, so I assume that it doesn't destroy rations.
If not, the problem is just tripping the trap without being hurt, and you can do that by taking off your armor or weapon or something and throwing it at the trap from a distance to trigger it.