title: Upgrading Ruby on Mac OS X
body: <p>I am reading the book Programming Ruby and am looking to upgrade the version of Ruby on my computer. I run Mac OS X Snow Leopard and doing ruby -v in the command line shows I am running Ruby 1.8.7. </p>
  
  <p>I installed MacPorts and ran the sudo port install ruby19 command but whenever I type ruby -v, it still shows Ruby 1.8.7.</p>
  
  <p>Could anyone help with this? Thank you.</p>