Getting error while installing Ruby on Ubuntu 18.4
I am getting the below issue when im installing the ruby. I am following the below article
https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-16-04 This article for 16.4 but mine is Ubuntu 18.4

Please, could you help me?
Try to find the progress and sticky points
rbenv install --verbose
Ruby 2.2 is not supported openssl-1.1.x.
see its detail. https://github.com/rbenv/ruby-build/wiki#openssl-usrincludeopensslasn1_mach102-error-error-this-file-is-obsolete-please-update-your-software
@hsbt I have tried below
$ sudo apt-get install libffi-dev $ RUBY_CONFIGURE_OPTS=--enable-shared rbenv install 2.2.1
though I am getting the same issue. Any help