Not embedding them, but mjit generated C and used a C compiler to compile it:
https://www.heroku.com/blog/ruby-mjit/#mjit