From: Jim Morris Date: 2007-12-23T07:06:55+09:00 Subject: Re: RubyGems 1.0.0 I was on Fiesty which still had 1.8.4 I think, and I presumed my problem was due to the initial gem release didn't work with 1.8.4 So I upgraded to a source install of 1.8.6 to /usr/local/lib and thats when I ran into more (non gem related) problems. I finally solved them all, but from now on I'm sticking with source installs and staying away from apt installs for any ruby related thing. One gotcha is when you move from /usr/lib to /usr/local/lib you need to pretty much reboot to flush the library caches etc. Also for safe measure I renamed all the /usr/bin and /usr/lib/ruby stuff to .old so I don't pick them up. Especially note that apt seems to have a /usr/lib/siteruby whereas source installs have a /usr/local/lib/ruby/siteruby which does seem to confuse a lot of things. Lastly I think mixing and matching apt installs with source installs seems very problematical, so avoid it :) Unfortunately the apt system never has the latest gem or ruby so if you need them go for source installs. One thing I didn't try which may have worked better was to build a ruby apt package and install that, ditto for gem. Best of luck! Jonathan Hernandez wrote: > Eric Hodel wrote: >> On Dec 21, 2007, at 14:08 PM, Jan Friedrich wrote: >>>> solution I found I posted here. >>> I'm in the same situation. >> Do you have a /usr/local/bin/gem ? >> >> Can you give me `gem env` output from it? > > I'm also in the same situation (ruby from Apt and RubyGems manually > installed). If i do: > > # gem env > /usr/local/bin/gem:23: uninitialized constant Gem::GemRunner (NameError) > > # diff /usr/local/bin/gem /usr/bin/gem > # > (no differences) > > I've upgraded from rubygems 0.9.2. If i return back: > > ~/rubygems-0.9.2# ruby setup.rb > (...) > ~/rubygems-0.9.2# gem env > RubyGems Environment: > - VERSION: 0.9.2 (0.9.2) > - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8 > - GEM PATH: > - /usr/lib/ruby/gems/1.8 > - REMOTE SOURCES: > - http://gems.rubyforge.org > ~/rubygems-0.9.2# gem update --system > (...) > ~/rubygems-0.9.2# gem -v > /usr/local/bin/gem:23: uninitialized constant Gem::GemRunner (NameError) > > I know from other installs that rubygems 0.9.5 works perfectly with ruby > 1.8.6 (ubuntu's apt). > > Regards, -- Jim Morris, http://blog.wolfman.com