We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi all! ruby 2.3.4 pry 0.10.4 I try set variable 's' and get the error:
2.3.4 (main):0 > s = 123 Error: Cannot find local context. Did you use `binding.pry`?
within any data
2.3.4 (main):0 > s = abc Error: Cannot find local context. Did you use `binding.pry`?
The text was updated successfully, but these errors were encountered:
are you using pry-nav or another plugin that defines s as a command? try add Pry.config.collision_warning = true to your ~/.pryrc file. it will print a warning when a command overshadows a local variable name. i think that's what is happening here. see https://stackoverflow.com/questions/29305454/pry-error-cannot-find-local-context-did-you-use-binding-pry
s
Pry.config.collision_warning = true
Sorry, something went wrong.
thanks!
No branches or pull requests
Hi all!
ruby 2.3.4
pry 0.10.4
I try set variable 's' and get the error:
within any data
The text was updated successfully, but these errors were encountered: