C/C++ would be good option to write some of the performance critical aspects of a Ruby Application. I know this is possible.
I would like to know how to add C/C++ code i
Look in the "Extending Ruby" section of the Pickaxe book:
http://www.ruby-doc.org/docs/ProgrammingRuby/html/ext_ruby.html