sudden problems with gem

S

Simon Schuster

I believe it's in response to trying to consolidate where gems are
kept. (why ARE there so many directories used for this? the difference
between say /var/lib/gems, /usr/lib/ruby/1.8,
/usr/lib/ruby/gems/1.8/gems seems a little flattened... but I'm kind
of new to all this.)

so this is what I get:

$ gem
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- sources (LoadError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from /usr/local/lib/site_ruby/1.8/rubygems/source_info_cache.rb:6
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from /usr/local/lib/site_ruby/1.8/rubygems/remote_installer.rb:12
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:112:in `manage_gems'
from /usr/bin/gem:10
 
E

Eric Hodel

I believe it's in response to trying to consolidate where gems are
kept. (why ARE there so many directories used for this? the difference
between say /var/lib/gems, /usr/lib/ruby/1.8,
/usr/lib/ruby/gems/1.8/gems seems a little flattened... but I'm kind
of new to all this.)

It sounds like you installed RubyGems twice, or with two different
ruby interpreters. Remove both gem directories then reinstall
RubyGems without any options.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,470
Messages
2,571,807
Members
48,797
Latest member
PeterSimpson
Top