(hoping this works for me) This totally works! Done it twice now and it works perfectly. Also read somewhere gnats are attracted to the color yellow so I added a little yellow food coloring the second time. Got more gnats with the yellow!
How to Get Rid of Ants - Natural Repellent to Eliminate Ants for Good