Skip to content

Instantly share code, notes, and snippets.

@kolosek
Last active September 15, 2020 23:17
Show Gist options
  • Select an option

  • Save kolosek/dcdb0f5ef8a2eb80cc521464f64c3926 to your computer and use it in GitHub Desktop.

Select an option

Save kolosek/dcdb0f5ef8a2eb80cc521464f64c3926 to your computer and use it in GitHub Desktop.
Ruby older than 2.4 relies on OpenSSL libary version 1.0
Ruby from version 2.4 relies on OpenSSL library version 1.1
Newer ubuntu 20.04 comes with openssl-dev1.1 pre-installed. And installing older version of Ruby is not possible, since you have 1.1 version of Openssl.
I am sure you see a conflict there. Solution to this problem is to remove open ssl from Ubuntu:
sudo apt purge openssl-dev
And install ruby version via RVM. But you need to add PPA so RVM can find older openssl.
sudo apt-add-repository -y ppa:rael-gc/rvm
sudo apt-get update
Then you can install Ruby 2.3.3
rvm install 2.3.3
# Maybe try with installing custom version of open ssl - https://cloudwafer.com/blog/installing-openssl-on-ubuntu-16-04-18-04/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment