unable to install ruby 2.2 in ubuntu 18.04
Try with this commands 1) Install rvm following instructions for Ubuntu on https://github.com/rvm/ubuntu_rvm 2) rvm install ruby 2.2.10 3) rvm install ruby 2.2.10 --with-gcc=gcc if its not work then try with this 1. sudo apt purge libssl-dev && sudo apt install libssl1.0-dev 2. rvm install 2.3.5 --autolibs=disable