Here's Stack Overflow's data for worlwide salaries from 2013 to 2022. You can see that Ruby has increased from a median of about $60,000 in 2013 to $90,000 in 2022.
You can see from the data that this is ahead of the median but less than the highest paying language. (This year, it was Clojure and Erlang in the first and second spot.)
All in all. It doesn't feel like that despite Ruby's change in popularity that Ruby salaries are suffering.
I wanted to get a sense for the discount we take by programming Ruby in instead of Clojure or whatever the top language is.