In my house I use a small dish of vinegar with a drop of liquid detergent in it. My parents dump grass cuttings into the compost bin when they have fruit flies and they go away every time. I don't know why, but I've seen it work. love, mom