old ruby 1.8.4 installed in /opt/local/lib/ruby
new ruby 1.8.6 installed in /usr/local/lib/ruby
cd /opt/local/lib/ruby
sudo cp -r gems /usr/local/lib/ruby
cd site_ruby/1.8/
sudo cp -r gemconfigure.rb rubygems rubygems.rb ubygems.rb rbconfig /usr/local/lib/ruby/site_ruby/1.8/
cd /opt/local/bin
sudo rm irb gem ruby rake
sudo rm erb gem_mirror gem_server gemwhich generate_yaml_index.rb rails rdoc ri testrb update_rubygems
restart terminal
this is for emergency cos you should really re-install ruby related things since we might not have moved everything
done