I'm just a user, just trying to help identify the exact bug.
"I also had an abandoned mine in my hand so I 'named a card' by clicking on it and ended up naming 'ruins'. "
Looks to be key.
On loading game 3273258.
I tried clicking the abandoned mine from hand to name a card for doctor.
And it worked correctly.
Are you sure you didn't click the ruins pile?
That is the only way I can recreate the issue.
(Or it has already been fixed?)
Fisherman, did you manage to recreate the bug?
I agree Ruins should probably not be nameable, but that is unhelpful interface, not a bug.