install version ruby fedora code example
Example 1: ruby install on fedora
sudo -i
dnf install gcc-c++ patch readline readline-devel zlib zlib-devel \
libyaml-devel libffi-devel openssl-devel make \
bzip2 autoconf automake libtool bison sqlite-devel
Example 2: ruby install on fedora
rvm use 2.7 --default
Using /usr/local/rvm/gems/ruby-2.7.0
Example 3: ruby install on fedora
rvm list known