Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Get warning about usage of Pry.config.prompt #954

Closed
IanVaughan opened this issue Feb 26, 2020 · 2 comments
Closed

Get warning about usage of Pry.config.prompt #954

IanVaughan opened this issue Feb 26, 2020 · 2 comments

Comments

@IanVaughan
Copy link

When starting guard :

13:54:36 - INFO - Guard::RSpec is running
13:54:36 - INFO - Guard is now watching at '/Users/<redacted>'
warning: setting prompt with help of `Pry.config.prompt = [proc {}, proc {}]` is deprecated. Use Pry::Prompt API instead

Versions:

ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19]

guard (2.16.1)
guard-compat (1.2.1)
guard-rspec (4.7.3)
guard-rubocop (1.3.0)

pry (0.12.2)
pry-byebug (3.8.0, 3.7.0)
pry-rails (0.3.9)

When I removed the usage of Pry.config.prompt from this line the warning went away.

@soberstadt
Copy link

I believe this was fixed by #958

@IanVaughan
Copy link
Author

Yep, looks good to me.

guard (2.16.2)

pry (0.13.1, 0.13.0)
pry-byebug (3.9.0)

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

No branches or pull requests

2 participants