# Sudden problems with gem

**URL:** <https://www.ruby-forum.com/t/sudden-problems-with-gem/111783>\
**Category:** Ruby\
**Created:** [August 10, 2007, 7:45pm UTC](https://www.ruby-forum.com/t/sudden-problems-with-gem/111783 "2007-08-10T19:45:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonsaid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b5e925/32.png) [@simonsaid](https://www.ruby-forum.com/u/simonsaid)\
**Post date:** [August 10, 2007, 7:45pm UTC](https://www.ruby-forum.com/t/sudden-problems-with-gem/111783/1 "2007-08-10T19:45:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![simonsaid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b5e925/32.png) [@simonsaid](https://www.ruby-forum.com/u/simonsaid)\
**Post date:** [August 11, 2007, 3:18am UTC](https://www.ruby-forum.com/t/sudden-problems-with-gem/111783/2 "2007-08-11T03:18:53Z")

</div>

On Aug 10, 2007, at 10:43, Simon S. wrote:

> 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.
