Add a check for Ruby < 1.9, Enumerator not defined