1.下载 Ruby3.3 并安装
依次执行
wget https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.gz
tar -zxvf ruby-3.3.0.tar.gz
cd ruby-3.3.0
./configure
make
make install
2.查看版本
ruby -v
依次执行
wget https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.0.tar.gz
tar -zxvf ruby-3.3.0.tar.gz
cd ruby-3.3.0
./configure
make
make install
ruby -v