Gates cannot be placed directly into Terrain Paths, but they can be added to Fencing.
Create a stacked fence by putting a fence on top of a terrain wall and create stone newels and top with decorative end caps.
Creating an outside solid stone or brick wall can be accomplished using the standard Fencing tools.