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).

Answer from Zippie on Stack Overflow
Discussions

Trying to uninstall rbenv
Hi. I have been trying to uninstall rbenv, however it seems to be lingering on my system! I used sudo apt-get remove rbenv, and it said it had removed it. However, when I ran this command: user@use... More on github.com
🌐 github.com
2
September 26, 2016
uninstall?
Hi, How do you uninstall rbenv More on github.com
🌐 github.com
18
November 19, 2011
Uninstall Ruby, rbenv and homebrew and reinstall Ruby on Rails with RVM on MAC - Stack Overflow
I have installed it many times on Ubuntu with RVM and I'm very comfortable with that. Here is what happened on Mac: I went through instructions as explained here https://gorails.com/setup/macos/10.10-yosemite then when I got to the point to install Rails with " gem install rails " I got this error: Error installing rails: ERROR: Failed to build gem native extension. Now I want to roll-back everything and uninstall rbenv ... More on stackoverflow.com
🌐 stackoverflow.com
any way to uninstall ruby using rbenv
Didn't find any way on readme to remove ruby installed with rbenv. More on github.com
🌐 github.com
4
October 13, 2015
🌐
Ruby Toolbox
ruby-toolbox.com › projects › sstephenson › rbenv
Project: sstephenson/rbenv - The Ruby Toolbox
The ruby-build plugin provides an rbenv uninstall command to automate the removal process.
🌐
GitHub
github.com › rbenv › rbenv › issues › 933
Trying to uninstall rbenv · Issue #933 · rbenv/rbenv
September 26, 2016 - Hi. I have been trying to uninstall rbenv, however it seems to be lingering on my system! I used sudo apt-get remove rbenv, and it said it had removed it. However, when I ran this command: user@use...
Author   BytesDirect
🌐
OnWorks
onworks.net › home
rbenv-uninstall
Run online rbenv-uninstall in free Ubuntu online, free Fedora online, free Windows online emulator or free MACOS online emulator by OnWorks
🌐
GitHub
github.com › rbenv › rbenv › issues › 148
uninstall? · Issue #148 · rbenv/rbenv
November 19, 2011 - rbenv / rbenv Public · Notifications · You must be signed in to change notification settings · Fork 1.4k · Star 16.7k · New issueCopy link · New issueCopy link · Closed · Closed · uninstall?#148 · Copy link · cj · opened · on Nov 19, 2011 · Issue body actions ·
Author   cj
🌐
The Geek Diary
thegeekdiary.com › how-to-uninstall-rbenv-from-ubuntu
How to uninstall rbenv from Ubuntu – The Geek Diary
You can uninstall or removes an installed rbenv package itself from Ubuntu through the terminal, using the below command:
🌐
GitHub
github.com › rbenv › rbenv
GitHub - rbenv/rbenv: Manage your app's Ruby environment · GitHub
The ruby-build plugin provides an rbenv uninstall command to automate the removal process.
Starred by 16.7K users
Forked by 1.4K users
Languages   Shell 97.8% | Ruby 1.6%
Find elsewhere
🌐
Stack Overflow
stackoverflow.com › q › 50778327
ubuntu - How can I completely remove rbenv, rvm, ruby, and rails from my system? - Stack Overflow
I want to completely remove rbenv, ... sudo apt purge, sudo apt autoremove, and sudo apt uninstall for both rbenv and rvm and I've removed the ~/.rvm and ~/.rbenv folders, yet both still seem to be installed on my machine....
🌐
DevManuals
devmanuals.net › install › ubuntu › ubuntu-16-04-LTS-Xenial-Xerus › how-to-install-rbenv.html
How to install rbenv On Ubuntu 16.04 Lts? Uninstall and remove rbenv Package
In this tutorial you will learn how to update and install rbenv On Ubuntu 16.04 Lts? Learn how to uninstall and completely remove the package rbenv from Ubuntu 16.04 LTS Operating System.
🌐
GitHub
raw.githubusercontent.com › rbenv › rbenv › master › README.md
https://raw.githubusercontent.com/rbenv/rbenv/mast...
This will **delete all Ruby versions** ... the rbenv package removal: - Homebrew: `brew uninstall rbenv` - Debian, Ubuntu, and their derivatives: `sudo apt purge rbenv` - Archlinux and its derivatives: `sudo pacman -R rbenv` ## Development Tests are executed using [Bats](https...
🌐
Nicedoc
nicedoc.io › rbenv › rbenv
Nicedoc
June 22, 2022 - pretty README as service
🌐
CopyProgramming
copyprogramming.com › howto › uninstall-ruby-version-from-rbenv
Ruby: Removing a specific version of Ruby from rbenv
August 21, 2023 - Ruby - How do you uninstall rbenv on macOS?, Rbenv is a major cause of Failed to build gem native extension errors from my experience. Remove using brew: brew remove rbenv. Delete .rbenv directory: rm -rf ~/.rbenv. Open .bash_profile file and delete any lines with rbenv in them: vi ~/.bash_profile.
🌐
Arturgruchala
arturgruchala.com › rbenv-to-asdf
Deprecation of rbenv on Bitrise: Switching to asdf
September 25, 2023 - #!/bin/bash versions=$(rbenv versions --skip-aliases --bare) for version in $versions; do echo "Removing Ruby version $version" rbenv uninstall $version done
🌐
GitHub
gist.github.com › IanVaughan › 2902499
Uninstall all rbenv gems · GitHub
#!/bin/sh RBENVPATH=`rbenv root` echo $RBENVPATH RUBIES=`ls $RBENVPATH/versions` for ruby in $RUBIES; do echo '---------------------------------------' echo $ruby rbenv local $ruby gem cleanup done ... --no-verbose is what removes the header. (We may need another fix in the future if things change again) #!/bin/bash gem_remove() { gem list --no-versions --no-verbose | xargs gem uninstall -aIx gem list } gem_remove_all() { #rbenv versions --bare RBENVPATH=`rbenv root` echo $RBENVPATH RUBIES=`ls $RBENVPATH/versions` for ruby in $RUBIES; do echo '---------------------------------------' echo $ruby rbenv local $ruby gem_remove done }
🌐
GitHub
github.com › rbenv › rbenv › issues › 797
any way to uninstall ruby using rbenv · Issue #797 · rbenv/rbenv
October 13, 2015 - Didn't find any way on readme to remove ruby installed with rbenv.
Author   pulkitnandan
🌐
Reddit
reddit.com › r/ruby › how to start over (uninstall ruby, gems, anything else)?
r/ruby on Reddit: How to start over (uninstall Ruby, gems, anything else)?
December 18, 2016 - I'm at the end of my rope with my MacBook reverting to referencing some Ruby 2.6 version I can't remove because it seems to be built into my operating system... ... My .rbenv dir had hit 40GB, so here's how I fixed it.