# Gems problem

**URL:** <https://www.ruby-forum.com/t/gems-problem/112270>\
**Category:** Ruby\
**Created:** [August 16, 2007, 11:30pm UTC](https://www.ruby-forum.com/t/gems-problem/112270 "2007-08-16T23:30:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![h4z3](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/54ee81/32.png) [@h4z3](https://www.ruby-forum.com/u/h4z3)\
**Post date:** [August 16, 2007, 11:30pm UTC](https://www.ruby-forum.com/t/gems-problem/112270/1 "2007-08-16T23:30:21Z")

</div>

Ok sorry if this is in the wrong place, didn’t really know where to  
ask…

I was running ruby 1.8.5 and install rubygems, requiring gems in a  
script worked fine and the world was a sweet place… Then i decided to  
upgrade to ruby 1.8.6… Then the nightmare came… I tried re-installing  
gems 5+ times but no luck… every time i get this error…

blah.rb:3:in `require’: no such file to load – rubygems (LoadError)  
from blah.rb:3

or running gem from command line produces this:

/usr/bin/gem:9:in `require’: no such file to load – rubygems  
(LoadError)  
from /usr/bin/gem:9

Each one obviously meaning the same thing… I have no idea what to do.  
Does anyone have any idea’s?

Im running deb etch if that helps…

Thanks in advance

---

<div class="post-metadata">

**Author:** ![h4z3](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/54ee81/32.png) [@h4z3](https://www.ruby-forum.com/u/h4z3)\
**Post date:** [August 16, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/gems-problem/112270/2 "2007-08-16T23:54:22Z")

</div>

Also, i have just checked and /usr/lib/ruby/gems exists with ALL of my  
gems in it… I tried to aptitude remove the files but even ruby1.8 wont  
un-install… Im so stuck
