Take it into a light-tight closet. Do all the following steps in complete darkness:
Open the back, take out the film cartridge, respool the ripped bit into the cartridge, put it into a film canister. Then press the little respool button on the bottom of the camera, slowly pull the ripped film from the body and spool it into a tight roll. Put the roll into another, black film canister, seal it with a black cover and black electrical tape.
Take the two film canisters to a photo lab of your choice where the lab does the processing themselves, tell them what's up and only to open the canisters in the dark.
I've had this happen on me doing fieldwork in Uzbekistan. It wasn't a problem to have te two halves developed. I only lost the ripped frame.
BTW how did it rip? Was it at the end of the roll or during respooling?
Philipp