rbenv install - executable host ruby is required

十年热恋 提交于 2019-12-02 01:50:50

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.

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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!