Forum: Ruby-core [Ruby 1.9 - Bug #5420][Open] RubyGems misleading error message for "update -l"

E0d864d9677f3c1482a20152b7cac0e2?d=identicon&s=25 Robert Klemme (robert_k78)
on 2011-10-07 11:08
(Received via mailing list)
Issue #5420 has been reported by Robert Klemme.

----------------------------------------
Bug #5420: RubyGems misleading error message for "update -l"
http://redmine.ruby-lang.org/issues/5420

Author: Robert Klemme
Status: Open
Priority: Low
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [i386-cygwin]


I accidentally used option -l for "update":

11:00:34 ~$ gem19 list -l facets

*** LOCAL GEMS ***

facets (2.9.1)
11:00:44 ~$ gem19 update -l
Updating installed gems
Updating facets
ERROR:  While executing gem ... (Gem::GemNotFoundException)
    Could not find a valid gem 'facets' (>= 0) locally or in a
repository
11:01:15 ~$

The issue is with "... or in a repository": apparently the repository
was not even searched because without "-l" it works:

11:01:15 ~$ gem19 update
Updating installed gems
Updating facets
Successfully installed facets-2.9.2
Gems updated: facets
Installing ri documentation for facets-2.9.2...
Installing RDoc documentation for facets-2.9.2...
11:03:56 ~$ gem19 list -l facets

*** LOCAL GEMS ***

facets (2.9.2, 2.9.1)
11:04:21 ~$
2e9a2dbe335e0111e4879a9d65dcbae0?d=identicon&s=25 Ayumu AIZAWA (Guest)
on 2011-12-30 19:12
(Received via mailing list)
Issue #5420 has been updated by Ayumu AIZAWA.

Assignee set to Eric Hodel


----------------------------------------
Bug #5420: RubyGems misleading error message for "update -l"
https://bugs.ruby-lang.org/issues/5420

Author: Robert Klemme
Status: Open
Priority: Low
Assignee: Eric Hodel
Category:
Target version:
ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [i386-cygwin]


I accidentally used option -l for "update":

11:00:34 ~$ gem19 list -l facets

*** LOCAL GEMS ***

facets (2.9.1)
11:00:44 ~$ gem19 update -l
Updating installed gems
Updating facets
ERROR:  While executing gem ... (Gem::GemNotFoundException)
    Could not find a valid gem 'facets' (>= 0) locally or in a
repository
11:01:15 ~$

The issue is with "... or in a repository": apparently the repository
was not even searched because without "-l" it works:

11:01:15 ~$ gem19 update
Updating installed gems
Updating facets
Successfully installed facets-2.9.2
Gems updated: facets
Installing ri documentation for facets-2.9.2...
Installing RDoc documentation for facets-2.9.2...
11:03:56 ~$ gem19 list -l facets

*** LOCAL GEMS ***

facets (2.9.2, 2.9.1)
11:04:21 ~$
58479f76374a3ba3c69b9804163f39f4?d=identicon&s=25 drbrain (Eric Hodel) (Guest)
on 2012-12-18 06:43
(Received via mailing list)
Issue #5420 has been updated by drbrain (Eric Hodel).

Category set to lib
Target version set to 2.0.0

=begin
It seems this has been fixed.

  $ GEM_HOME=~/tmp/gems/ GEM_PATH= ruby20 -Ilib bin/gem update -l
builder
  Updating installed gems
  Updating builder
  Fetching: builder-3.1.4.gem (100%)
  Successfully installed builder-3.1.4

=end

----------------------------------------
Bug #5420: RubyGems misleading error message for "update -l"
https://bugs.ruby-lang.org/issues/5420#change-34822

Author: rklemme (Robert Klemme)
Status: Assigned
Priority: Low
Assignee: drbrain (Eric Hodel)
Category: lib
Target version: 2.0.0
ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [i386-cygwin]


I accidentally used option -l for "update":

11:00:34 ~$ gem19 list -l facets

*** LOCAL GEMS ***

facets (2.9.1)
11:00:44 ~$ gem19 update -l
Updating installed gems
Updating facets
ERROR:  While executing gem ... (Gem::GemNotFoundException)
    Could not find a valid gem 'facets' (>= 0) locally or in a
repository
11:01:15 ~$

The issue is with "... or in a repository": apparently the repository
was not even searched because without "-l" it works:

11:01:15 ~$ gem19 update
Updating installed gems
Updating facets
Successfully installed facets-2.9.2
Gems updated: facets
Installing ri documentation for facets-2.9.2...
Installing RDoc documentation for facets-2.9.2...
11:03:56 ~$ gem19 list -l facets

*** LOCAL GEMS ***

facets (2.9.2, 2.9.1)
11:04:21 ~$
58479f76374a3ba3c69b9804163f39f4?d=identicon&s=25 drbrain (Eric Hodel) (Guest)
on 2012-12-18 06:45
(Received via mailing list)
Issue #5420 has been updated by drbrain (Eric Hodel).

Status changed from Assigned to Closed


----------------------------------------
Bug #5420: RubyGems misleading error message for "update -l"
https://bugs.ruby-lang.org/issues/5420#change-34823

Author: rklemme (Robert Klemme)
Status: Closed
Priority: Low
Assignee: drbrain (Eric Hodel)
Category: lib
Target version: 2.0.0
ruby -v: ruby 1.9.2p290 (2011-07-09 revision 32553) [i386-cygwin]


I accidentally used option -l for "update":

11:00:34 ~$ gem19 list -l facets

*** LOCAL GEMS ***

facets (2.9.1)
11:00:44 ~$ gem19 update -l
Updating installed gems
Updating facets
ERROR:  While executing gem ... (Gem::GemNotFoundException)
    Could not find a valid gem 'facets' (>= 0) locally or in a
repository
11:01:15 ~$

The issue is with "... or in a repository": apparently the repository
was not even searched because without "-l" it works:

11:01:15 ~$ gem19 update
Updating installed gems
Updating facets
Successfully installed facets-2.9.2
Gems updated: facets
Installing ri documentation for facets-2.9.2...
Installing RDoc documentation for facets-2.9.2...
11:03:56 ~$ gem19 list -l facets

*** LOCAL GEMS ***

facets (2.9.2, 2.9.1)
11:04:21 ~$
This topic is locked and can not be replied to.