We upgraded from Rails 4 to 5 last year (lol - it was EOL before our migration was even done), but that was before our CTO left to be a CEO somewhere else and there's been no attempt to find a replacement. Now the executive is obsessed with piling on features with little regard to technical debt or maintenance. It's going about as well as you'd think.
I’ve been lucky to have been working in smaller companies where I’ve been able to communicate the issues with that.
I can’t imagine working in a place that doesn’t want to listen to its engineers or experts. (The same works the other way around too: engineers not willing to understand the business context)