Ruby installation in leopard after upgrade

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:incall’
/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:insh’
/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:inruby’
/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:inverbose’
/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:incall’
/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:ineach’
/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:ininvoke’
/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:ininvoke’
/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:incall’
/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:ineach’
/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:ininvoke’
/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:ininvoke’
/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:ineach’
/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:ineach’
/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:ininvoke’
/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:ininvoke’
/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:ineach’
/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:instandard_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:inrun’
/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:inrun’
/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:insh’
/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:insh’
/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:inruby’
/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:indefine’
/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:indefine’
/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:inexecute’
/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:inexecute’
/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:insynchronize’
/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:incollect’
/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:inexecute’
/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:inexecute’
/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:insynchronize’
/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:ininvoke_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:insend’
/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:ininvoke_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:insynchronize’
/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:intop_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:intop_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:intop_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:instandard_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:inload’
/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 :slight_smile:

And i try to do this:
http://novemberain.com/2007/11/1/ruby-textmate-os-x-leopard

But nothing really changed :frowning: