[email protected]:~$ gem list
*** LOCAL GEMS ***
bigdecimal (1.2.8)
did_you_mean (1.0.0)
io-console (0.4.5)
json (1.8.3)
minitest (5.8.4)
net-telnet (0.1.1)
power_assert (0.2.7)
psych (2.0.17)
rake (10.5.0)
rdoc (4.2.1)
sass (3.4.23)
test-unit (3.1.7)
[email protected]:~$ sudo gem uninstall rake
ERROR: While executing gem ... (Gem::InstallError)
rake is not installed in GEM_HOME, try:
gem uninstall -i /usr/share/rubygems-integration/all rake
[email protected]:~$ sudo gem uninstall -i /usr/share/rubygems-integration/all rake
Remove executables:
rake
in addition to the gem? [Yn] Y
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/share/rubygems-integration/all/bin directory.
[email protected]:~$ ls /usr/share/rubygems-integration/all/
specifications
[email protected]:~$
我不能特別卸載此寶石,既不如果好像它不存在使用它:( 。卸載紅寶石寶石
我的紅寶石verison是2.3.1.p112
我卸載,但由於某種原因,有剩餘的一些文件。我手動刪除,現在一切正常。我試圖安裝耙並卸載它,現在工作正常。 –