ruby-build icon indicating copy to clipboard operation
ruby-build copied to clipboard

Getting error while installing Ruby on Ubuntu 18.4

Open mrvijaycode opened this issue 8 years ago • 3 comments

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

ruby_error

Please, could you help me?

mrvijaycode avatar May 04 '18 15:05 mrvijaycode

Try to find the progress and sticky points rbenv install --verbose

archana209 avatar May 04 '18 15:05 archana209

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 avatar May 05 '18 11:05 hsbt

@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

mrvijaycode avatar May 07 '18 07:05 mrvijaycode