In saucepan over medium heat, sauté the onions, ginger, jalapenos, and cumin for 6 minutes.
Add the rum and cook until almost all is evaporated.
Add the pineapple, lime juice, and sugar, bring to simmer and then remove from heat.
Stir in the cilantro, salt and pepper to taste.
Note: Caution!
Be sure to wear rubber gloves when preparing the chilies or you will experience an intense burning sensation in your hands not to mention what would happen should you rub your eyes!