Added refs to Ruby example and fixed a typo.