How to fix RVM gems “[ missing bin/ruby ]”

柔情痞子 提交于 2020-07-08 05:47:29

问题


After executing rvm list I get following output:

rvm rubies

   gems [ missing bin/ruby ]
=* ruby-2.0.0-p645 [ x86_64 ]
   ruby-2.1.6 [ x86_64 ]
   ruby-2.2.1 [ x86_64 ]

What does gems [ missing bin/ruby ] mean?

Is gems some kind of system gemset? It wasn't created by me and I don't know if I can, or should, remove it.


回答1:


After I ran:

rvm fix-permissions

I was then able to uninstall versions that had [ missing bin/ruby ].




回答2:


You probably installed RVM using:

curl -sSL https://get.rvm.io | bash -s stable --ruby .

Uninstall RVM using:

rvm implode

Once uninstalled, reinstall it using:

curl -L https://get.rvm.io | bash -s stable

I had the same problem and that fixed it.



来源:https://stackoverflow.com/questions/29876386/how-to-fix-rvm-gems-missing-bin-ruby

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