install ruby on linux fedira 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 list
ruby-2.4.4 [ x86_64 ]
* ruby-2.5.1 [ x86_64 ]
=> ruby-2.7.0 [ x86_64 ]
# => - current
# =* - current && default
# * - default