Both JRuby and TruffleRuby are very much alive and are not written in C. Shopify supports the TruffleRuby project, and it not only comes with more memory safety but also a JIT compiler!
And yes, there can be vulnerabilities in the compiler itself. But it's still better to have less memory unsafe code than more.