1
내 시스템에서 보석을 제거하는 데 문제가 있습니다.sudo gem을 제거 할 수 없습니다 (쓰기 권한이 없습니다)
pteng01:trunk mike$ gem list -d RedCloth
*** LOCAL GEMS ***
RedCloth (3.0.4)
Author: why the lucky stiff
Rubyforge: http://rubyforge.org/projects/redcloth
Homepage: http://www.whytheluckystiff.net/ruby/redcloth/
Installed at: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
RedCloth is a module for using Textile and Markdown in Ruby. Textile
and Markdown are text formats. A very simple text format. Another
stab at making readable text that can be converted to HTML.
pteng01:trunk mike$
내가
sudo gem uninstall --install-dir /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8
을 시도하고 나는
gem cleanup
및 실행
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/lib/ruby/gems/1.8/bin directory.
'gem cleanup'을 실행하여 문제를 해결 한 경우, 보석 및 정리 명령의 여러 버전이 가장 최근 버전을 제외한 모든 버전에서 제거되었을 수 있습니다. –
그래, 나는 새로운 버전과 함께 갈 수 있고 마음의 평화가 내 시스템을 어수선하게 만들 수 없도록 이전 버전을 제거하려고했다. – Mike