Installing Ruby 2.3.x on Ubuntu 18.04 is causing an error by the end of the installation process

前端 未结 7 904
孤城傲影
孤城傲影 2021-02-05 06:48

I recently updated my system to Ubuntu 18.04 LTS, and since then, the Ruby version seems to have updated to 2.5. The issue is that, when attempting to deploy a project that uses

7条回答
  •  别那么骄傲
    2021-02-05 07:26

    Got it working also with RVM:

    1. sudo apt purge libssl-dev && sudo apt install libssl1.0-dev 2. rvm install 2.3.5 --autolibs=disable

    You must install RVM dependencies manually, otherwise, with autolibs enabled, RVM will try to update system dependencies and also libssl-dev (that you downgraded in the first step). If you don't want to manually install dependencies you can try to install Ruby with autolibs enabled, the installation will fail, at this point you have dependencies installalled, so you can downgrade libssl repeating all from step 1.

提交回复
热议问题