That graph is a bit deceptive, it shows Ruby dropping from 19% of commits to 5% of commits. However, since inception GitHub grew by far more than a factor of 4 with GitHub leaving the initial Rails bubble and the rest of the world getting on board.
So in absolute terms the number of Ruby commits grew over that time span, it's not declining, and certainly not dying.
So in absolute terms the number of Ruby commits grew over that time span, it's not declining, and certainly not dying.