I learned Ruby by jumping into rails and building a small app. I learned how through various blogs, tutorials and railscasts. Then I later picked up Matz book and gained a deeper understanding of Ruby.
I've more recently begun to dig through the rails source to get a better understanding of what happening in the background and how certain things are achieved with pure Ruby.