[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[MacOS X ?]rubygems search path ???

unbewusst.sein

3/11/2008 6:53:00 PM

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 ?


--
Une Bévue