Installieren Sie die Ruby -Version mit RBENV
rbenv global 3.0.2
Davidosky
rbenv global 3.0.2
rbenv -v
sudo apt install git curl autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev
ruby --version
rbenv install -l
rbenv install 3.0.2
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
source ~/.bashrc
rbenv install [version number]
rbenv global [version number]
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash