I ran a bar of soap all along the top rail of our fence...and put chips along the edge of the garden.
I have Irish Spring, which I heard works the best, waiting in the wings to use.