Answer: I think whatever works in your situation is the right thing to use! There is a bit of science behind your observation. Gophers feed primarily on the roots of various plants and occasionally on stems and leaves. They prefer thick tap-rooted plants over thin, fibrous roots but they will eat both. Since junipers have mostly fibrous roots and they thrive in dry soils, and because dry soils tend to be more compacted and less populated with grubs and other insects, the gophers are not so much repelled by the juniper planted area as they are actively avoiding it because there are much more lush and yummy plant roots in other parts of your landscape. I'd caution against planting a perimeter of junipers around your yard, though - even if it did work to repel gophers, what if you trapped a population inside your garden??
Best wishes with your landscape!
Q&A Library Searching Tips