Project

General

Profile

Actions

Bug #18281

closed

Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug

Added by zzak (zzak _) over 2 years ago. Updated over 1 year ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.1.0dev (2021-11-01T08:48:03Z master b474049c78) [x86_64-darwin20]
[ruby-core:105893]

Description

👋 So I'm not sure this is a bug with debug or rubygems, but thought I'd start here.

When running gem uninstall -aIx on Ruby 3.1.0 I get the following error:

ERROR:  While executing gem ... (Gem::InstallError)
    debug is not installed in GEM_HOME, try:
	gem uninstall -i .../.rubies/ruby-core/lib/ruby/gems/3.1.0 debug

Updated by zzak (zzak _) over 2 years ago

Oh also, interesting.. if I gem install debug and re-run gem uninstall -aIx it works!

gem uninstall -aIx
Successfully uninstalled debug-1.3.4
Successfully uninstalled debug-1.1.0

But now it's failing to uninstall matrix.. 🤔

I will just delete my install dir again, but maybe this is a bug?

Actions #2

Updated by hsbt (Hiroshi SHIBATA) almost 2 years ago

  • Target version changed from 3.1 to 3.2

Updated by hsbt (Hiroshi SHIBATA) over 1 year ago

  • Status changed from Open to Closed
  • Target version deleted (3.2)
$ gem -v
3.4.0.dev
$ gem uninstall -aIx debug
Successfully uninstalled debug-1.4.0
Successfully uninstalled debug-1.6.2

The current master of Rubygems seems working with GEM_HOME variable. and without GEM_HOME variable is also working.

$ gem uninstall -aIx debug
Removing rdbg
Successfully uninstalled debug-1.6.3

I'll close this because this is dev environmental issue.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0