From: Chris Gehlker Date: 2006-09-06T18:12:01+09:00 Subject: Re: Please help fixing gems on OSX On Sep 6, 2006, at 1:15 AM, andre in LA wrote: > I downloaded gems and ran sudo ruby setup.rb which seemed to run OK. > > When I run gem, though, I get > > sexy-beast:~ user$ gem > /usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:52:in > `initialize': uninitialized constant Gem::CommandManager::HelpCommand > (NameError) > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:46:in > `instance' > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:25:in `run' > from /usr/local/bin/gem:23 > I get: ~ $ gem RubyGems is a sophisticated package manager for Ruby. This is a basic help message containing pointers to more information. Usage: gem -h/--help gem -v/--version gem command [arguments...] [options...] Examples: gem install rake gem list --local gem build package.gemspec gem help install Further help: gem help commands list all 'gem' commands gem help examples show some examples of usage gem help show help on COMMAND (e.g. 'gem help install') Further information: http://rubygems.rubyforge.org > .bash_login contains > export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin: > $PATH" my PATH is: ~ $ echo $PATH /usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin which start with '/usr/local/bin' the same as yours. > > and which gem returns > > sexy-beast:~ user$ which gem > /usr/local/bin/gem ditto here. All of which means that I'm totally stumped. Just out of curiosity, does: ~ $ which ruby yield /usr/local/bin/ruby? -- The folly of mistaking a paradox for a discovery, a metaphor for a proof, a torrent of verbiage for a spring of capital truths, and oneself for an oracle, is inborn in us. -Paul Valery, poet and philosopher (1871-1945)