我使用rvm,我安裝了ruby 2.0與rvm,但我需要卸載它得到紅寶石1.9.3。所以無法卸載Ruby 2.0.0
MacBook-Pro-Kuba:~ Kuba$ gem install bundler
Successfully installed bundler-1.3.5
Parsing documentation for bundler-1.3.5
1 gem installed
MacBook-Pro-Kuba:~ Kuba$ sudo rvm all do uninstall ruby
Preparing Uninstall...
Uninstall Began...
Uninstall Failed...
Reason: ErrorMissingBundle
,你可以看到我肯定已經安裝了捆綁,並且它拋出這個錯誤:但我的終端是做奇怪的事情。我該怎麼辦? (我使用山獅子)
請看到這一點:http://stackoverflow.com/questions/8319495/how-to-reinstall-ruby-and-gem-on-mac-os-x –
我不看到我的解決方案...那裏的用戶告訴這個人使用rvm,我已經在使用 – Leo
解釋你的命令問題1.'sudo'損失整個環境,你不應該用sudo加前綴命令,如果你必須使用'rvmsudo' ,2.'rvm ... do ...'運行任何不認爲命令前綴爲'rvm'的命令,所以你的命令意味着在rvm的每個ruby中運行系統命令'uninstall',而不是每次卸載紅寶石,那會是:'rvm uninstall all'。 – mpapis