Help me repel my fruit fly invasion

What are the best fixes for fruit flies? What traps work best, and how can you avoid them in the first place?

Not eating fruit during the summer is not an option.

We’ve had thread on this before I’m sure - I generally leave out a glass (or other container) with a bit of orange juice in the bottom, cover it with something like cling film with a small opening - works on the same principle as a lobster pot, they can get in but not out.

The GirlChild is using a mix of vinegar and dish soap in a jar. They dive in for the vinegar and don’t come up.

I think the trick is to not keep fruit out long. Buy only a day’s worth at a time.

Keep other food, and water sources, cleaned up also.

This one is possibly the best … http://boards.straightdope.com/sdmb/showthread.php?t=283536&highlight=fruit+flies

Others here