I installed pry and pry-doc on Ubunutu WSL for Windows 10. When I try to use show-doc on pry to get information about a method it doesn't work.
[1] pry(main)> require 'pry-doc'
=> true
[2] pry(main)> show-doc String#end_with?
Error: Cannot locate this method: end_with?. (source_location returns nil)

I'm using ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux] and pry-doc 1.3.0.
I installed pry and pry-doc on Ubunutu WSL for Windows 10. When I try to use show-doc on pry to get information about a method it doesn't work.
I'm using ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux] and pry-doc 1.3.0.