Also probably that enterprises started migrating to Github. At the beginning it was probably early adopters platform with the languages that early adopters use.
I think this is due to many existing projects moving to GitHub. With Google Code stagnating (and now shutting down), and a lot of Apache work being done on GitHub, I imagine many of the new repositories are actually just moves.
Of course Java. It's still one of the best platforms out there, especially if you weigh in performance, stability and availability of open source libraries and free or cheap hosting.
Like many startup they go with ruby as a PoC because it's fast to implement, now when you need a really solid and performant backend you don't use ruby / python.