ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:105893] [Ruby master Bug#18281] Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug
@ 2021-11-01 23:05 zzak (Zachary Scott)
  2021-11-01 23:08 ` [ruby-core:105894] " zzak (Zachary Scott)
  2022-11-17  6:40 ` [ruby-core:110789] " hsbt (Hiroshi SHIBATA)
  0 siblings, 2 replies; 3+ messages in thread
From: zzak (Zachary Scott) @ 2021-11-01 23:05 UTC (permalink / raw)
  To: ruby-core

Issue #18281 has been reported by zzak (Zachary Scott).

----------------------------------------
Bug #18281: Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug
https://bugs.ruby-lang.org/issues/18281

* Author: zzak (Zachary Scott)
* Status: Open
* Priority: Normal
* Target version: 3.1
* ruby -v: ruby 3.1.0dev (2021-11-01T08:48:03Z master b474049c78) [x86_64-darwin20]
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
👋  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
```



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:105894] [Ruby master Bug#18281] Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug
  2021-11-01 23:05 [ruby-core:105893] [Ruby master Bug#18281] Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug zzak (Zachary Scott)
@ 2021-11-01 23:08 ` zzak (Zachary Scott)
  2022-11-17  6:40 ` [ruby-core:110789] " hsbt (Hiroshi SHIBATA)
  1 sibling, 0 replies; 3+ messages in thread
From: zzak (Zachary Scott) @ 2021-11-01 23:08 UTC (permalink / raw)
  To: ruby-core

Issue #18281 has been updated by zzak (Zachary Scott).


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?

----------------------------------------
Bug #18281: Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug
https://bugs.ruby-lang.org/issues/18281#change-94436

* Author: zzak (Zachary Scott)
* Status: Open
* Priority: Normal
* Target version: 3.1
* ruby -v: ruby 3.1.0dev (2021-11-01T08:48:03Z master b474049c78) [x86_64-darwin20]
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
👋  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
```



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:110789] [Ruby master Bug#18281] Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug
  2021-11-01 23:05 [ruby-core:105893] [Ruby master Bug#18281] Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug zzak (Zachary Scott)
  2021-11-01 23:08 ` [ruby-core:105894] " zzak (Zachary Scott)
@ 2022-11-17  6:40 ` hsbt (Hiroshi SHIBATA)
  1 sibling, 0 replies; 3+ messages in thread
From: hsbt (Hiroshi SHIBATA) @ 2022-11-17  6:40 UTC (permalink / raw)
  To: ruby-core

Issue #18281 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Closed
Target version deleted (3.2)

```ruby
$ 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.



----------------------------------------
Bug #18281: Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug
https://bugs.ruby-lang.org/issues/18281#change-100139

* Author: zzak (Zachary Scott)
* Status: Closed
* Priority: Normal
* ruby -v: ruby 3.1.0dev (2021-11-01T08:48:03Z master b474049c78) [x86_64-darwin20]
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
👋  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
```



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-17  6:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-01 23:05 [ruby-core:105893] [Ruby master Bug#18281] Ruby 3.1.0: gem uninstall -aIx fails to uninstall debug zzak (Zachary Scott)
2021-11-01 23:08 ` [ruby-core:105894] " zzak (Zachary Scott)
2022-11-17  6:40 ` [ruby-core:110789] " hsbt (Hiroshi SHIBATA)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).