Reputation: 63
I'm trying to delete ruby 2.0.0-p247 using rbenv. I tried rbenv uninstall 2.0.0-p247, but it does not seem to work. It appears again when I go to rbenv versions. The version I tried to delete is still there. How do I go about this?
Upvotes: 2
Views: 1352
Reputation: 16506
After you have uninstalled Ruby using:
rbenv uninstall 2.0.0-p247
You need to clean up stale shimmed binaries from the removed version. You can do this by:
rbenv rehash
Just incase uninstall
command is not working, you can also manually remove Ruby by:
rm -rf ~/.rbenv/versions/2.0.0-p247
just be careful with using rm -rf
Upvotes: 2