fix pry spec on ruby 2.1