“Is ruby dying”, “Is ruby dead”, “Who cares about ruby “, Ruby is dead “. These are the frequently asked question in the past couple of years whenever one searches about ruby on Google. Well, answer to this no. In fact Ruby on Rails has fragmented into various market segments. 
Ruby on Rails is still pretty much active and has nearly 2,420,813 websites built on it. Major websites such as Airbnb, Github, Shopify, and Hulu are based on this framework. There's a huge community backing it up and at the same time working on the framework itself. The major advantage RoR brings to the table is the speed of development, websites that took months to be built and developed with RoR takes merely days. It has continually proved how it has solved problems, improvised itself and made it even better. The fact is that ruby isn't dying but maturing itself overtime. 
Ruby on Rails has also been adopted by major companies, and with the latest release of ruby 3.0, it fixes all the shortcomings it had in its previous version. 

More reasons why Ruby on Rails won't die :

1.Created for the developers by the developers : 

It is fast to write the codes in. Essentially making it at least 30-40 % faster than other languages. It provides flexibility for programmers through gems and usability of the code from other programs.

2.Presence of Large Community:  

The presence of the RoR community and contributors is all over the world, who actively contribute and maintain the framework. The community has crafted lots of open source tools and libraries that developers can take advantage of and build functional, cost-effective applications from scratch. 

3. Code Quality is the primary focus:  

RoR provides a set of common norms and standards of code structure that is approved by the global community. This makes it easy for anyone to understand the code that's written and following a common structure debugging gets easy and as well as reusing the existing code or modifying it becomes an easy task. Lastly, with the help of powerful library developers, don't have to write code from scratch thereby focusing on the quality of code and less on quantity.

Many major programming languages are still used or used for many years because : 
1. There is a huge amount of old/legacy software that depends on older language and needs to be maintained. 
2. The number of users and applications is growing. 
3. There’s a host of ecosystems and tools that are built to assist and help with building applications with the framework. 
4. The amount of investment the organization or business makes in developing and maintaining the system is simply too huge to be disposed off and start from scratch 

Languages that have proven to be useful once shall remain useful in certain ways in the future. For example, COBOL, Fortan, APL, Basic and Pascal are still used as they live on their iteration that is built on the same. Languages vary in their popularity over time but its use depends on how the framework tackles its shortcomings and emerges to be even more powerful. Ruby on Rails is doing the same. With constant updates and immense backing amongst developers and growing code-base isn’t going to let ruby die that easily.