Clean your kitchen, flush your disposal, take out the trash.
Then take a nice high ABV malty beer (I like 10%+ barleywine), drink half, then pour the rest into a glass. Sit it out. Now go away for a day or two.
The malty aroma will attract the fruit flies. The high ABV will kill them...