I'm trying to install Ruby 1.9 using Homebrew. I'm using Mac OS X Lion, so Ruby 1.8.7 is installed by default.
I've got Homebrew installed at /usr/local/bin/brew
(well that's what it says if I run 'which brew')
It seems to be using the Ruby located in /usr/bin/ruby
(again, from 'which ruby')
I've read tons of suggestions saying I should do something to the path variable; mine looks like this:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/bin/brew
Where am I going wrong? Why is the Homebrew version of Ruby not being used?