~/my_tar_extractions/rubygems-1.3.1$ sudo ruby setup.rb
Password:
./lib/rubygems.rb:723:in `set_paths': uninitialized constant Gem::Etc
(NameError)
        from ./lib/rubygems.rb:719:in `each'
        from ./lib/rubygems.rb:719:in `set_paths'
        from ./lib/rubygems.rb:526:in `path'
        from ./lib/rubygems/source_index.rb:66:in
`installed_spec_directories'
        from ./lib/rubygems/source_index.rb:56:in `from_installed_gems'
        from ./lib/rubygems.rb:736:in `source_index'
        from ./lib/rubygems/gem_path_searcher.rb:86:in `init_gemspecs'
        from ./lib/rubygems/gem_path_searcher.rb:21:in `initialize'
        from ./lib/rubygems.rb:684:in `new'
        from ./lib/rubygems.rb:684:in `searcher'
        from ./lib/rubygems.rb:683:in `synchronize'
        from ./lib/rubygems.rb:683:in `searcher'
        from ./lib/rubygems/custom_require.rb:34:in `require'
        from /usr/lib/ruby/1.8/tmpdir.rb:12
        from ./lib/rubygems/custom_require.rb:31:in
`gem_original_require'
        from ./lib/rubygems/custom_require.rb:31:in `require'
        from setup.rb:95


mac osx 10.4.11

Any ideas on what went wrong?
-- 
Posted via http://www.ruby-forum.com/.