try installing pry-doc gem:
gem install pry-doc
OR
as per @JayKilleen
if you are using pry in your rails environment you can also try installing jazz_hands instead github.com/nixme/jazz_hands which brings pry and other gem functionality into rails console.