Not to mention that by the time that twitter needed to scale rails the framework itself was very different and a little less powerfull. That goes to ruby as well.
Ruby 2.1 has a very important property: GC scales linearly with the amount of memory allocated.
Before 2.1 GC performance increased polynomially. So, for example, processing 10k rows from the table could take 10 seconds, and 100k would never finish.