rbenv install - executable host ruby is required

前端 未结 2 1481
醉梦人生
醉梦人生 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:48

    You can't use rbenv without a native installation of ruby in the machine. You should install ubuntu's ruby (sudo apt-get install ruby) so rbenv will have a base version to work with. If you can run ruby -v then you're all set.

提交回复
热议问题