From: Spencer Roach Date: 2010-08-19T23:54:31+09:00 Subject: Re: [ANN] Ruby 1.9.2 is released On 8/18/10 8:45 PM, "botp" wrote: >> weird, since rvm does install it fine. > > arggh i'm stuck.. > even compiling straight fr rubygem download wont work > > botp@jedi2:~/Desktop/downloads/rubygems-1.3.7 > $ sudo ruby setup.rb > /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems/source_index. > rb:68:in > `installed_spec_directories': undefined method `path' for Gem:Module > (NoMethodError) > from > /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems/source_index. > rb:58:in > `from_installed_gems' > from > /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:883:in > `source_index' > from > /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems/gem_path_sear > cher.rb:81:in > `init_gemspecs' > from > /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems/gem_path_sear > cher.rb:13:in > `initialize' > from > /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:841:in > `new' > from > /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:841:in > `block in searcher' > from :10:in `synchronize' > from > /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:840:in > `searcher' > from > /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:479:in > `find_files' > from > /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:983:in > `load_plugins' > from > /disk2_2/home/botp/Desktop/downloads/rubygems-1.3.7/lib/rubygems.rb:1139:in > `' > from :29:in `require' > from :29:in `require' > from setup.rb:24:in `
' > botp@jedi2:~/Desktop/downloads/rubygems-1.3.7 > Same here! I don't use rvm or anything, I've always followed the instructions on Hivelogic: http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leop ard Compiling and installing Ruby went fine, but this is what I get when I try to install rubygems: sroach-mac:rubygems-1.3.7 sroach$ sudo /usr/local/bin/ruby setup.rb Password: /Users/sroach/src/rubygems-1.3.7/lib/rubygems/source_index.rb:68:in `installed_spec_directories': undefined method `path' for Gem:Module (NoMethodError) from /Users/sroach/src/rubygems-1.3.7/lib/rubygems/source_index.rb:58:in `from_installed_gems' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:883:in `source_index' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems/gem_path_searcher.rb:81:in `init_gemspecs' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems/gem_path_searcher.rb:13:in `initialize' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:841:in `new' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:841:in `block in searcher' from :10:in `synchronize' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:840:in `searcher' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:479:in `find_files' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:983:in `load_plugins' from /Users/sroach/src/rubygems-1.3.7/lib/rubygems.rb:1139:in `' from :29:in `require' from :29:in `require' I'm new at this, so if anyone has any idea of how to correct the issue, I'd appreciate it. Thanks! Spencer from setup.rb:24:in `
' sroach-mac:rubygems-1.3.7 sroach$