Yes, it's just a dirty hack that should work in this particular case because Ruby has no 1.10 version. The original code wouldn't work with '1.10' either, but it also ran the Ruby <=1.8 code for Ruby 2...