Lee Jarvis wrote:
> Well, I updated rubygems, and got this error:
> /usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)
> 
> So, I removed and reinstalled rubygems from my repos, (which happened to 
> be version 0.9.4). This was a clean install, yet I still get this error 
> no matter what I do..
> 
> c0re:/home/haze# gem
> /usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)
> c0re:/home/haze# gem server
> /usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)
> c0re:/home/haze# gem_server
> /usr/local/lib/site_ruby/1.8/rubygems/server.rb:345:in `[]': Symbol as 
> array index (TypeError)
>         from /usr/local/lib/site_ruby/1.8/rubygems/server.rb:345:in 
> `run'
>         from /usr/bin/gem_server:5
> 
> Any ideas?
> 
> Regards,
> Lee

I had the same problem on my system.  Mine is on ubuntu 7.10.  When I 
checked out my /usr/bin directory, I found the gem command and the 
gem1.8 command.  When I run the `gem1.8` command, everything runs 
normally.  I copied gem1.8 over to gem, and now I can use the gem 
command again.

Regards,
Leonard
-- 
Posted via http://www.ruby-forum.com/.