rbenv install - executable host ruby is required

前端 未结 2 1479
醉梦人生
醉梦人生 2021-01-21 22:50

I am trying to install ruby 2.2.0-dev using rbenv into my Ubuntu 13.10 development laptop. I have removed all previous ruby and gem installations. Now, when I try to install rub

2条回答
  •  北海茫月
    2021-01-21 23:44

    tl;dr

    you need a non-dev version (i.e. 2.2.0) installed (also using rbenv) before you can have the dev version.


    As of rbenv 1.0.0 you don't need to have ruby from the repository (e.g. using apt-get) installed on your machine to be have any *-dev version installed. However, it is required to have a non-dev version already installed (through rbenv) before installing any *-dev version.

提交回复
热议问题