Issue #7481 has been reported by hsbt (Hiroshi SHIBATA).

----------------------------------------
Bug #7481: gem cleanup が正常に完了しない
https://bugs.ruby-lang.org/issues/7481

Author: hsbt (Hiroshi SHIBATA)
Status: Open
Priority: Normal
Assignee: kou (Kouhei Sutou)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-30 trunk 38003) [x86_64-darwin12.2.1]


gem cleanup を実行すると先頭の gem のみ cleanup に成功し、以降の gem の cleanup に失敗してしまいます。

  % yes | gem cleanup
  WARN: Unresolved specs during Gem::Specification.reset:
      rake (>= 0.8.1)
  WARN: Clearing out unresolved specs.
  Please report a bug if this causes problems.
  Cleaning up installed gems...
  Attempting to uninstall psych-1.3.4
  Successfully uninstalled psych-1.3.4
  Attempting to uninstall mongo-1.7.1
  Unable to uninstall mongo-1.7.1:
	Gem::InstallError: mongo is not installed in GEM_HOME, try:
	gem uninstall -i /Users/hsbt/.rbenv/versions/2.0.0-dev/lib/ruby/gems/2.0.0 mongo



-- 
http://bugs.ruby-lang.org/