From time to time we get invaded by fruit flies. I could never find a homemade solution online that actually worked. Here's what I found does work to trap those pesky buggers.
Take a quart or gallon sized zipper bag and put fruit peels, cores, scraps, etc in the bag. Keep the top of the bag open only about an inch or so. Let it sit overnight. In the morning, before turning on many lights and making a lot of noise, very quickly close the bag and trap the flies before they have a chance to escape. Toss the bag in the trash.
You can see from the picture above that this trap was very successful. I caught almost all of our fruit flies in one night!
Wordless Wednesday: When Dairy Farmers Fly
1 hour ago