Nothing wrong with Rails, especially if the team knows it well. Time to develop is the real cost in software most of the time.
If Github wanted to integrate a lot of real-time features, then Elixir + Phoenix can't be beat. Depending on what they replace, a 10x in performance and a fraction of the servers needed is a nice win.