I use a balsamic vinegar with a little bit of dish soap to "catch" the fruit flies. Tried it with saran wrap on top, and the stupid buggers couldn't even find their way in through the holes. removed the saran wrap and lo and behold, they swarmed - and died. Apparently the dish soap prevents them from flying so they drown.
I am bloodthirsty at times