To understand how Ruby works, read its C source code. After learning each part of Ruby's internal implementation we perform an experiment and use Ruby to test itself.
Most of the book discusses how MRI works.
MRI (Matz's Ruby Interpreter) was invented in 1993 by Yukihiro Matsumoto a.k.a Matz.