Fixes #6191 - pin pry for ruby 1.8 compat