I like an idea of a warning in the server logs. I think the route file is parsed fairly early, so we might even be able to manage this at server startup.
How about just treating those like if they were defined without this _path suffix.
By that I mean that all those 3 definitions become equivalent aliases of the same route named logout
get 'exit', to: 'sessions#destroy', as: :logout_path
get 'exit', to: 'sessions#destroy', as: :logout_url
get 'exit', to: 'sessions#destroy', as: :logout
With maybe some info/warning message in logs when booting the app.
There is of course possibility that someone left the _path routes names and invokes it later as _path_path or _path_url and it make this possibly breaking change that requires being noted in Changelog but I think it should be rare enough case that changing this behaviour will not wreck too much havoc in general.
My only concern with the server logs approach is that in my experience newbies never look there (but maybe we should think of a way to address that). I would prefer to handle this with the view code raises - rather than saying “undefined method logout” we could have a more useful nudge right there in the browser. But I’m happy with anything that makes this easier!