For Ruby 1.8.7, lock down pry version
Ruby < 1.9 doesn't support class_var_get so provide a method