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

cat dir, where "dir" is a directory raises SystemStackError #14

Open
kyrylo opened this issue Nov 11, 2012 · 0 comments
Open

cat dir, where "dir" is a directory raises SystemStackError #14

kyrylo opened this issue Nov 11, 2012 · 0 comments
Labels

Comments

@kyrylo
Copy link
Member

kyrylo commented Nov 11, 2012

Without pry-exception_explorer.

~[master]% cat dir
cat: dir: Is a directory
~[master]% pry
[1] pry(main)> cat dir
Errno::EISDIR: Is a directory - /home/curacao/dir
from /home/curacao/.gem/ruby/1.9.1/gems/pry-0.9.10/lib/pry/code.rb:131:in `each
'
[2] pry(main)> 

With pry-exception_explorer (0.2.3).

~[master]% cat dir 
cat: dir: Is a directory
~[master]% dir
[1] pry(main)> cat dir
SystemStackError: stack level too deep
from /home/curacao/.gem/ruby/1.9.1/gems/pry-exception_explorer-0.2.3/lib/pry-exception_explorer.rb:152
[2] pry(main)> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant