MacPortsで1.8.7を入れる

# sudo port -d selfupdate  
# sudo port -d sync  
# sudo port install ruby @1.8.7-p174
# ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]