I read from IEEE Spectrum, and I found out that Ruby is in the 16th position of language popularity.
Ruby on Rails is not slow compared to the frameworks used on JS-based tools, but the market has moved on.
Also, with the rise of native apps, Java and Swift increased in popularity.
The top 10 programming languages in 2021:
Read more here: https://spectrum.ieee.org/top-programming-languages-2021