Ensure pry compatibility for Ruby 1.8

* Pry has moved to using Ruby 1.9 hash syntax from v0.10, which causes syntax errors when using Ruby 1.8.
  Locking the version of pry to a compatible version prevents this.