You are confusing popularity with capability. Ruby is less popular than it was, but it is still very healthy and solving problems. It is also actively developed.
This entire exchange would not have happened if you had simply said, Ruby is less popular than it used to be.
“Past its prime” is a derogatory expression that is invalid in this use case.