I'm not sure that usage indicates even rough numbers of hackers. Hacking OS code is a bit more daunting than hacking RoR code (at least in popular opinion), therefore I would think that more users of RoR are likely to hack on it.
That said, Linux is a huge project with tons of contributors.