If rails causes a kernel panic then this is really a bug in the kernel. No user land app should ever do this. Why not try to scale on *BSD or Windows all of whom have different kernel and scale just fine?
$100,000 and no one said "hey what about running it on <insert other os>"?