It was a user error.
Literally moments after posting this, I realized that a white ruler on white background simply can’t be seen. So I reset my 3D background to the blue default, and there it is.
It would be nice, however, if the ruler would adapt to the background color (i.e. being drawn in black if the background is white).