A non-lethal method is to put down coffee grounds. The ants don't like them and will eventually move on to a different location, plus the coffee is a mild fertilizer. Ants are good for the soil, but it is definitely better to not have them actually IN the garden where they can bite you.