Here is a great easy to follow direction for installing Imagemagick and RMagick on Leopard.