From: Jonathan Hernandez Date: 2007-12-24T17:54:04+09:00 Subject: Re: RubyGems 1.0.0 Ok, i solved the problem (i had it in many computers, all of them Ubuntu). The problem was /usr/bin/gem is not updated. Seems all the files but /usr/bin/gem are updated to 1.0.1 First of all: gem update --system I renamed all de /usr/local/bin/gem* to /usr/local/bin/gem*.bak (if any). All the good bins are in my /usr/bin/gem* (only one place) Then i overwrite that /usr/bin/gem with an updated copy. I put here the contents of an 1.0.1 /usr/bin/gem script if anyone wants to manually copy-paste it: #------------------------------------------------------------------------- #!/usr/bin/ruby1.8 #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. # See LICENSE.txt for permissions. #++ require 'rubygems' require 'rubygems/gem_runner' required_version = Gem::Requirement.new ">= 1.8.2" unless required_version.satisfied_by? Gem::Version.new(RUBY_VERSION) then abort "Expected Ruby Version #{required_version}, was #{RUBY_VERSION}" end # We need to preserve the original ARGV to use for passing gem options # to source gems. If there is a -- in the line, strip all options after # it...its for the source building process. args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")] Gem::GemRunner.new.run args #------------------------------------------------------------------------- After that, all the problems are gone: # gem -v 1.0.1 Regards, -- Posted via http://www.ruby-forum.com/.