I despise Ruby, PHP, and Java, but there is no objective argument that Ruby has "beaten" PHP or Java. It hasn't even beaten Python. It's tiny compared to the largest back-end languages.
Edit: evidence below:
- Ruby is used by 0 of the top 15 most-visited sites[1] (Twitter doesn't use it anymore). Java is used by 7 of them. PHP is used by 3.
- Job listings on Indeed asking for Ruby skills are far behind Java and PHP[2].
- W3Techs shows that 82.2% of all websites reporting their backend language are using PHP. Ruby is 0.6%.[3]
- Ruby is not even in the ballpark of Java on Github. It has a similar number of repos as PHP.[4]
1. https://en.wikipedia.org/wiki/Programming_languages_used_in_...
2. http://www.codingdojo.com/blog/9-most-in-demand-programming-...
3. https://w3techs.com/technologies/overview/programming_langua...