The relation with Rails illustrates how lively the PHP community is. Rails was one big step ahead, PHP copied Rails in a hundred different ways, iterated through that for 3 generations of frameworks and is now well ahead of the simplistic RoR ecosystem.
Ruby is still a better language, but that really doesn't matter unless you project involves writing stuff from scratch.