# Rubygems search path?

**URL:** <https://www.ruby-forum.com/t/rubygems-search-path/131599>\
**Category:** Ruby\
**Created:** [March 11, 2008, 8:08pm UTC](https://www.ruby-forum.com/t/rubygems-search-path/131599 "2008-03-11T20:08:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Une\_BSSSSvS\_ue](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/2acd7d/32.png) [@Une\_BSSSSvS\_ue](https://www.ruby-forum.com/u/Une_BSSSSvS_ue)\
**Post date:** [March 11, 2008, 8:08pm UTC](https://www.ruby-forum.com/t/rubygems-search-path/131599/1 "2008-03-11T20:08:21Z")

</div>

the story :

i had installed “by hand” xml/smart when using ruby 1.8.6

worked great.

today i’ve upgraded ruby 1.8.6 to patch level 111\_1 :

~%\> ruby --version  
ruby 1.8.6 (2007-09-24 patchlevel 111) [powerpc-darwin8.11.0]

then, re-running an already tested app gave me :

/opt/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem\_original\_require’: no such file to load – xml/smart (LoadError)

i verified that :

/opt/local/lib/ruby/site\_ruby/1.8/powerpc-darwin8.9.0/xml/smart.bundle

still exists.

i’ve found a workaround by copying xml/smart.bundle into :

/opt/local/lib/ruby/site\_ruby/1.8/powerpc-darwin8.11.0

(this directory was created today when upgrading ruby)

is that normal rubygems is aware of “powerpc-darwin8.11.0” even if this  
module wasn’t installed using gem ?

in other words, does i need to RE-install all the gems for the new ruby  
version ?
