From: Jeremy Lecour Date: 2007-02-08T17:28:33+09:00 Subject: Re: Rubygem install "Invalid argument - sources-0.0.1.gem" Eric Hodel wrote: >> I've removed everything, including ruby itself, � >> when I do "apt-get install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8 >> libreadline-ruby1.8 libruby1.8", I get things in "/usr/lib/ruby/1.8/" > > Did RubyGems install successfully now? No !! I have the exact same error, with 0.9.[0-2] I even tried to install the official Debian package for rubygems. Then : # gem -v 0.9.0 # gem update --system Updating RubyGems... Bulk updating Gem source index for: http://gems.rubyforge.org Attempting remote update of rubygems-update ERROR: While executing gem ... (Errno::EINVAL) Invalid argument - /var/lib/gems/1.8/cache/rubygems-update-0.9.2.gem # gem pristine --all ERROR: While executing gem ... (RuntimeError) Unknown command pristine # gem install rubygems-update ERROR: While executing gem ... (Errno::EINVAL) Invalid argument - /var/lib/gems/1.8/cache/rubygems-update-0.9.2.gem >> I thing I have to tune the setup config for Rubygems, but I don't know >> which way. > > You shouldn't, it follows what rbconfig says, which depends upon how > Ruby was configured. OK I undestand the logic, but still, I'm stuck and begin to be desperate I'm sorry the bother you with my strange problem, but for now you are my only help out there. Thanks again. -- Posted via http://www.ruby-forum.com/.