The amount of pushes seem to be steady if you look at Ruby, https://madnight.github.io/githut/#/pushes/2024/1
Just because something is not hyped up or talked about constantly doesn't mean it's dying.
It conveys similar trend to Google Search chart
If you want to see real usage statistics you need to consult GitHub, JetBrains, RedMonk ratings.
https://octoverse.github.com/2022/top-programming-languages
Ruby took a nosedive from 5th "top used" programming language in 2016 to 10th in 2022
But this statement from thread starter is about Ruby's relative position.
If Ruby's rank in top-used language ranking drops, then we can say that the language is less used by programmers in the survey pool.
I guess we disagree on that part.