Deleting .rbenv from Linux
If you installed rbenv using apt-get, then
apt-get remove rbenv
or
sudo apt-get purge --auto-remove rbenv
is a good first step. Next steps should be: nuke the ~/.rbenv
directory and all references to "rbenv" in ~/.bashrc
, .bash_profile
, or similar shell initialization files.
Michael Durrant helped me with his comment, i was an idiot not to think that way in the first place, i just had to do:
apt-get remove rbenv
Since i didn't install it through a package manager, rather followed the instructions on GitHub, i thought that it wasn't appropriate (although i first tried apt-get uninstall
instead of apt-get remove
).