I tried to update my ruby and rails version. But I ended up with this error:
~ ruby -v
/Users/Benjamin/.rbenv/shims/ruby: line 21: /usr/local/Cellar/rbenv/1.1.0/libexec/rbenv:
No such file or directory
Is there anything I can do to fix this?
Run rbenv rehash
then to change / update ruby version use rbenv
command which is ruby manager installed on your machine
Is this on OS X? You can try removing "$(rbenv init -)"
from your ~/.bash_profile
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With