Green’s Dictionary of Slang

acorn n.1

[play on ride the horse foaled by an acorn under ride v.]

[late 19C] (US Und.) the gallows.