Yes. I am using Ruby daily and I don't see it go away in the foreseeable future. Oh, forgot to mention, I am not a web developer. I am actually a hardware guy somehow has to deal with lots of Ruby scripts.
Ruby is awesome. Focus less on particular language and instead think about what you want to do and then use whatever has the most libraries/utilities for the particular use case. I used to think in these terms but it isn't the right question.
If I'm just making something from scratch I might reach for Rails, which I love and am super comfortable developing in. If I am doing a lot of data work with something that also needs a web app/web API, I might reach for Django or FastAPI depending on project bandwidth. It just depends. What are you trying to build? Tell us more.
Just my $0.02
Doesn't the answer to that question depend on your goals?
For the sake of learning? Sure.
For work? Learn Python and/or Javascript instead.
Yes, it sure is!
I recommend to listen to this podcast episode that gives some insight into the state of Ruby & Rails:
Don't sleep on Ruby & Rails (with Justin Searls) https://changelog.com/podcast/521