Can't set rbenv global version on Ubuntu

Posted by Ife Odugbesan

6 months ago

0

rbenv ubuntu setup locales

Error message:

bash: warning: setLocale: LC_ALL: cannot change locale rbenv


The error message "cannot set LC_ALL" typically occurs when there is an issue with setting or configuring the locale environment variables on your system.

Try the following to set your locales: (en_US.UTF-8 for english speakers)

sudo locale-gen en_US.UTF-8
sudo update-locale
Once that has updated the locales, you can then try again to set your ruby version