Have a good day and night!
In osx 10.4 i has a ruby 1.8.4, after upgrade to 10.5 it was still
1.8.4, i change links in /usr/local/bin, then upgrade gems - everytihng
was fine, but problems was:

irb say:

####################
####################
~: irb
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
  Referenced from: /usr/local//lib/ruby/1.8/i686-darwin9.1.0/
readline.bundle
  Expected in: flat namespace

Trace/BPT trap
####################
####################


and rake also:

####################
####################
~: rake
/usr/local/bin/rake:17:Warning: require_gem is obsolete.  Use gem
instead.
(in /Sites/store)
/usr/local//bin/ruby -Ilib:test "/usr/local//lib/ruby/gems/1.8/gems/
rake-0.7.3/lib/rake/rake_test_loader.rb" "test/unit/author_test.rb"
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
  Referenced from: /usr/local//lib/ruby/1.8/i686-darwin9.1.0/
readline.bundle
  Expected in: flat namespace

/usr/local//bin/ruby -Ilib:test "/usr/local//lib/ruby/gems/1.8/gems/
rake-0.7.3/lib/rake/rake_test_loader.rb" "test/functional/
about_controller_test.rb"
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_filename_completion_function
  Referenced from: /usr/local//lib/ruby/1.8/i686-darwin9.1.0/
readline.bundle
  Expected in: flat namespace

/usr/local//bin/ruby -Ilib:test "/usr/local//lib/ruby/gems/1.8/gems/
rake-0.7.3/lib/rake/rake_test_loader.rb"
Command failed with status (): [/usr/local//bin/ruby -Ilib:test "/usr/
loca...]
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:719:in `sh'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in
`call'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `sh'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `sh'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:740:in
`ruby'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in
`ruby'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:
117:in `define'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:823:in
`verbose'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:
102:in `define'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`call'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`each'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`synchronize'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rails-1.2.6/lib/tasks/testing.rake:
45
/usr/local//lib/ruby/gems/1.8/gems/rails-1.2.6/lib/tasks/testing.rake:
43:in `collect'
/usr/local//lib/ruby/gems/1.8/gems/rails-1.2.6/lib/tasks/testing.rake:
43
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`call'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`each'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`synchronize'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in
`invoke_prerequisites'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in
`each'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in
`send'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in
`each'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:368:in
`invoke_prerequisites'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`synchronize'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`top_level'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`each'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`top_level'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exception_handling'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in
`top_level'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in
`run'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exception_handling'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in
`run'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/local/bin/rake:18:in `load'
/usr/local/bin/rake:18
Command failed with status (): [/usr/local//bin/ruby -Ilib:test "/usr/
loca...]
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:719:in `sh'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in
`call'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `sh'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `sh'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:740:in
`ruby'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in
`ruby'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:
117:in `define'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:823:in
`verbose'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:
102:in `define'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`call'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`each'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`synchronize'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rails-1.2.6/lib/tasks/testing.rake:
45
/usr/local//lib/ruby/gems/1.8/gems/rails-1.2.6/lib/tasks/testing.rake:
43:in `collect'
/usr/local//lib/ruby/gems/1.8/gems/rails-1.2.6/lib/tasks/testing.rake:
43
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`call'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`each'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`synchronize'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in
`invoke_prerequisites'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in
`each'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in
`send'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in
`each'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:368:in
`invoke_prerequisites'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`synchronize'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`invoke'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`top_level'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`each'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`top_level'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exception_handling'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in
`top_level'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in
`run'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exception_handling'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in
`run'
/usr/local//lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/local/bin/rake:18:in `load'
/usr/local/bin/rake:18
rake aborted!
Test failures
####################
####################

I don't know what should i do more, and REALLY need your advance.
Thank's all! And be wise and happy :)
-- 
Posted via http://www.ruby-forum.com/.