Fruit flies take pleasure in the scent of beer and wine, so test leaving out an previous alcohol bottle that also incorporates a certain amount of wine or beer inside. Seize a bit ramekin and place some vinegar in it. Then cover with plastic wrap and poke some pin holes inside the plastic. The fruit flies enter the ramekin and might't escape. Ma