问题
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