Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Show-doc does not work on Ubuntu WSL for Windows 10 #122

Open
OnTheHook opened this issue Feb 21, 2022 · 2 comments
Open

Show-doc does not work on Ubuntu WSL for Windows 10 #122

OnTheHook opened this issue Feb 21, 2022 · 2 comments

Comments

@OnTheHook
Copy link

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)

pry error
I'm using ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux] and pry-doc 1.3.0.

@andrehjr
Copy link
Member

Tested on macOS and the same issues happens. I'll investigate

@dgutov
Copy link
Contributor

dgutov commented Mar 16, 2024

FWIW, this does seem to fail with Ruby 3.1 (on Linux too), but it's fine with 3.3 + latest pry-doc.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants