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

undefined method `exists?' for Dir:Class #1

Closed
charlesetc opened this issue Jun 4, 2023 · 2 comments
Closed

undefined method `exists?' for Dir:Class #1

charlesetc opened this issue Jun 4, 2023 · 2 comments

Comments

@charlesetc
Copy link

Fun project!

I ran into this error trying to run it:

rsh >  (press ENTER)
I will now change the prompt into something more useful.
Feel free to amend the prompt in your .rshrc.
charles@macbook: ~/.vim/ ls

undefined method `exists?' for Dir:Class
charles@macbook: ~/.vim/ cd

undefined method `exists?' for Dir:Class
charles@macbook: ~/.vim/ cd /

undefined method `exists?' for Dir:Class
charles@macbook: ~/.vim/ cd ~

undefined method `exists?' for Dir:Class
charles@macbook: ~/.vim/ :nick

charles#macbook#.vim (main#)
$ rsh
charles@macbook: ~/.vim/ :nick 'll = ls -l'
.rshrc updated
charles@macbook: ~/.vim/ ls

undefined method `exists?' for Dir:Class
charles@macbook: ~/.vim/ ll

undefined method `exists?' for Dir:Class
charles@macbook: ~/.vim/

undefined method `exists?' for Dir:Class
charles@macbook: ~/.vim/

Should I be using a different ruby version?

$ ruby --version
ruby 3.2.1 (2023-02-08 revision 31819e82c8) [arm64-darwin22]
@isene
Copy link
Owner

isene commented Jun 4, 2023

Thanks. Fixed in latest :)

@isene isene closed this as completed Jun 4, 2023
@charlesetc
Copy link
Author

Nice thank you!

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