We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.5.0 directory
You have accidentally installed rbenv using the sudo keyword.
rbenv
sudo
To fix the problem, you simply need to reinstall rbenv without using the sudo keyword.