Preheat oven to 350 degrees F.
Mix beans, cheese and pineapple in a 9x13" baking dish.
Cook bacon until crispy. Drain excess fat, leaving 1-2 tablespoons to cook the onions in. Once the bacon is cooled, crumble and set aside.
Add the onions to the skillet with the bacon grease. When the onions are soft, add the sugar, ketchup and Worcestershire. Heat until boiling.
Add the hot onion mixture to the bean mixture. Mix in bacon crumbles. Cover with foil and bake covered for about 45 minutes. Remove foil and cook uncovered for about 15 minutes or until the beans are set.
by The Savvy Kitchen