Project

General

Profile

Actions

Bug #3607

closed

[trunk/r28731] Gem.path has disappeared?

Added by roberto (Ollivier Robert) almost 14 years ago. Updated about 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-07-23) [x86_64-darwin10.4.0]
Backport:
[ruby-core:31459]

Description

=begin
Any attempt to use rubygems is failing there:

519 [15:51] roberto@roberto-al:yarv/build> /usr/local/bin/gem list
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:68:in installed_spec_directories': undefined method path' for Gem:Module (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:58:in from_installed_gems' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:881:in source_index'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/gem_path_searcher.rb:81:in init_gemspecs' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/gem_path_searcher.rb:13:in initialize'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:839:in new' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:839:in block in searcher'
from internal:prelude:10:in synchronize' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:838:in searcher'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:478:in find_files' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:1103:in <top (required)>'
from internal:lib/rubygems/custom_require:29:in require' from <internal:lib/rubygems/custom_require>:29:in require'
from /usr/local/bin/gem:8:in `'

I have tried rmoving my build directory and rebuild everything. I don't want to blow everythting away in /usr/local/lib/ruby because I have quite a few gems installed if possible.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0