I seem to have gotten myself turned around while trying to install Rails 3 and haven't been able to figure out what I'm doing wrong. Prior to trying to upgrade I was on 2.3.2 Here's what I have thus far...
$ which ruby
/usr/local/bin/ruby
$ ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.8.0]
$ which rails
/usr/bin/rails
$ rails -v
Rails 3 requires Ruby 1.8.7 or 1.9.2. You're running ruby 1.8.6 (2009-06-08)
Please upgrade to continue.
I tried installing rvm by pasting the following into the Terminal
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
After receiving the welcome message I wanted to verify that it was installed but entering
type rvm | head -n1
returned
-bash: type: rvm: not found
Any ideas what I'm doing wrong and/or how I can go about moving forward? Thanks in advance for any insight...
BTW - I'm Mac OSX 10.5.8 and