Others in this comment thread have pointed out JavaScript, and I think that's a pretty good bet on why Ruby isn't really used by newer companies anymore. If you're trying to build an application for the web, it makes a lot more sense to work with _one_ language rather than two. Additionally, because JavaScript is always going to have a good amount of developers in the hiring pool due to its platform exclusivity over the web frontend, it's much easier to build out your engineering team than it was when your code is written in Ruby. Ryan Dahl described JS as "the best dynamic language in the world". I'm not entirely sure if I agree with that, but I do know where he's coming from. JavaScript is much easier and more ergonomic to use these days, and some of the most innovative technologies for web application development are coming out of this space.
I love Rails, but given the way things are going, I'm not sure I'll ever build a project with it again. We just don't need it anymore. That's not to say it doesn't have a place, and there will definitely always be jobs in Rails since it's being heavily used by the enterprise world, just that I don't think I'll be all that interested in it again now that I can use JS for everything.