Trouble installing ruby


Currently trying to install ruby. The commands that Odin provided were working until I ran into this command:

It gave me the error:
ommand ‘rbenv’ not found, but can be installed with:

sudo apt install rbenv

mkdir: cannot create directory ‘/plugins’: Permission denied

The Odin Project said not to use the command “sudo” unless explicitly told to. Should I just go ahead and run the command “sudo apt install rbenv”?


Did you solve this? You may have just needed to restart your terminal.