Fixes #6191 - pin pry for ruby 1.8 compat

should fix the older deb builds