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

前端 未结 7 1059
孤城傲影
孤城傲影 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:38

    I had a same issue, though it seemed problem was in gcc, in my case problem was in libssl-dev, this is what helped me:

    sudo apt purge libssl-dev && sudo apt install libssl1.0-dev
    

    I use rbenv. If you use rvm, you might hit problem after running previous command:

    /usr/share/rvm/scripts/base: No such file or directory
    

    I recommend trying rbenv. After installing libssl1.0-dev, everything was flawless.

提交回复
热议问题