Bob-
Now that's a really fine summary of the origin of this old song. I was too lazy to do much research beyond the link.
The version we heard was definitely "gin" instead of "rum" but that may have been a personal preference of the singer.
Charley Noble