Let me ask you a different question:
Would they be where they are today if there weren't been built at that moment with Ruby?
Both these questions are hard to answer without connecting the dots, looking backward.
Github was started in 2007, Shopify in 2006, Gitlab in 2011, Whop in 2021
It takes a long time approximately for a company to get out of the medium zone and go really big. So the only answer for this is we don't really know.
For any programming language you can find similar stories.
I tried to answer this question 6 years ago by analysing company data from YCombinator and TechStars: https://github.com/lucianghinda/programming-languages-in-sta...
Here is some data I found back then in 2019:
- Ruby companies raised 13 Billion dollars
- Python companies raised 11 billion dollars
- Java companies raised 1.5 billion dollars
- PHP companies raised 1.4 billion dollars
- Go companies raised 1.3 billion dollars
- Node.js companies raised 800 million dollars
Of course this data is 6 years old and it was based on the initial programming language and also it is about funding amount and not revenue.
I did not had time these days to update the data there.