[ruby-trunk - Bug #7481][Open] gem cleanup が正常に完了しない

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 S.)
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

Issue #7481 has been updated by kou (Kouhei S.).

gem listもらえませんか!?
手元でも試してみます。


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

Author: hsbt (Hiroshi SHIBATA)
Status: Open
Priority: Normal
Assignee: kou (Kouhei S.)
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

Issue #7481 has been updated by kou (Kouhei S.).

あ、再現できた気がします。一番最後のcleanupでmongo-1.7.1がuninstallできないのが問題という事ですね。

% /tmp/local/bin/gem install mongo
Fetching: i18n-0.6.1.gem (100%)
Successfully installed i18n-0.6.1
Fetching: multi_json-1.4.0.gem (100%)
Successfully installed multi_json-1.4.0
Fetching: activesupport-3.2.9.gem (100%)
Successfully installed activesupport-3.2.9
Fetching: bson-1.8.0.gem (100%)
Successfully installed bson-1.8.0
Fetching: mongo-1.8.0.gem (100%)
Successfully installed mongo-1.8.0
Parsing documentation for i18n-0.6.1
Installing ri documentation for i18n-0.6.1
Parsing documentation for multi_json-1.4.0
Installing ri documentation for multi_json-1.4.0
Parsing documentation for activesupport-3.2.9
Installing ri documentation for activesupport-3.2.9
Parsing documentation for bson-1.8.0
Installing ri documentation for bson-1.8.0
Parsing documentation for mongo-1.8.0
Installing ri documentation for mongo-1.8.0
Done installing documentation for i18n, multi_json, activesupport, bson,
mongo (27 sec).
5 gems installed
% /tmp/local/bin/gem install mongo -v 1.7.1
Fetching: bson-1.7.1.gem (100%)
Successfully installed bson-1.7.1
Fetching: mongo-1.7.1.gem (100%)
Successfully installed mongo-1.7.1
Parsing documentation for bson-1.7.1
Installing ri documentation for bson-1.7.1
Parsing documentation for mongo-1.7.1
Installing ri documentation for mongo-1.7.1
Done installing documentation for bson, mongo (22 sec).
2 gems installed
% /tmp/local/bin/gem install psych
Fetching: psych-1.3.4.gem (100%)
Building native extensions. This could take a while…
Successfully installed psych-1.3.4
Parsing documentation for psych-1.3.4
Installing ri documentation for psych-1.3.4
Done installing documentation for psych (4 sec).
1 gem installed
% /tmp/local/bin/gem cleanup
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 /tmp/local/lib/ruby/gems/2.0.0 mongo
Clean Up Complete


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

Author: hsbt (Hiroshi SHIBATA)
Status: Open
Priority: Normal
Assignee: kou (Kouhei S.)
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

Issue #7481 has been updated by kou (Kouhei S.).

Status changed from Open to Assigned
% Done changed from 0 to 40

RubyGemsのリポジトリの方に修正するコミットをしておきました。drbrainに確認してもらったらtrunkの方に入ります!(drbrainが入れてくれるはず!)

https://github.com/rubygems/rubygems/commit/24fdcd744683bcc0931e895dd4eba41c725e112f

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

Author: hsbt (Hiroshi SHIBATA)
Status: Assigned
Priority: Normal
Assignee: kou (Kouhei S.)
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

Issue #7481 has been updated by kou (Kouhei S.).

% Done changed from 40 to 100


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

Author: hsbt (Hiroshi SHIBATA)
Status: Closed
Priority: Normal
Assignee: kou (Kouhei S.)
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

Issue #7481 has been updated by drbrain (Eric H.).

Status changed from Assigned to Closed

Committed, thank you kou!

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

Author: hsbt (Hiroshi SHIBATA)
Status: Closed
Priority: Normal
Assignee: kou (Kouhei S.)
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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs