Saute the onion in a non-stick pan, adding a tablespoon of water if needed to keep it from sticking. (Add a pinch of baking soda to speed up browning, if desired.) Cook for 3-5 minutes, until beginning to turn golden. Add the peppers, garlic, and chopped ginger and cook another 2 minutes.
Add the drained black beans, pineapple juice, thyme, allspice, and cayenne (to taste). Cover and cook for 15 minutes on low, adding a splash of water if it starts to dry out.
Add the pineapple and salt and pepper to taste. Cover and cook for about 5 minutes. Serve over brown rice or quinoa.
