Project

General

Profile

Bug #2433

Ruby gem update --system /gem install [any_gem_name] ERROR

Added by Javix (Sergueï Cambour) about 10 years ago. Updated 3 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
1.8.6, 1.8.7
[ruby-core:27031]

Description

=begin
No matter on which OS you are, - XP Family, XP Pro or Ubuntu 9.10. Noo matter if you have firewall 'hyper-sensitive' or proxy. When trying to do gem update --system or even when trying to install a new gem like 'gem install [gem_name] I always got the below error:
[code]
serge@serge-laptop:~$ sudo gem install heroku
ERROR: Error installing heroku:
invalid gem format for /usr/lib/ruby/gems/1.8/cache/heroku-1.4.gem

serge@serge-laptop:~$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
serge@serge-laptop:~$ gem environment
RubyGems Environment:

[/code]
=end

History

#1

Updated by luislavena (Luis Lavena) about 10 years ago

=begin
On Fri, Dec 4, 2009 at 2:12 PM, Roger Pack rogerdpack@gmail.com wrote:

install [gem_name] I always got the below error:

[code]
serge@serge-laptop:~$ sudo gem install heroku
ERROR:  Error installing heroku:
       invalid gem format for /usr/lib/ruby/gems/1.8/cache/heroku-1.4.gem

Have you tried gem fetch+unpack heroku? Can you install it locally
from a .gem file?
-r

Seems to me that what is stored in the cache could be corrupted.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

=end

#2

Updated by jeremyevans0 (Jeremy Evans) 3 months ago

  • Backport set to 2.5: UNKNOWN, 2.6: UNKNOWN
  • Status changed from Open to Rejected
  • Description updated (diff)
  • Project changed from Backport186 to Ruby master

Also available in: Atom PDF