Ruby 1.9.3 on Mac OS X version 10.7 (10.7.3 to be precise)

I already know a number of programming languages, but as we are moving to a couple of tools that utilize Ruby, it became clear that I needed to break down and learn ruby. Working on MS Windows and Linux getting various versions installed has not been an issue. It is only when I went to use version 1.9.x on my MacBook that I realized this was not as simple as I hoped.

There are two main branches when it comes to Ruby: 1.8.x and 1.9.x. While both work fine, there are a number of improvements in the 1.9 stream, and as such I wanted to learn on this one. On my linux machines I was using RVM to manage different installations of Ruby without issue. You can go over to RVM for instructions on how to install RVM. Note: Close your Terminal and reopen so that the environment is properly sourced.

The problem is when you go to install 1.9.x or anything with RVM. I was getting the following errors:

mymachine:~ myusername$ rvm install 1.9.3
Compiling yaml in /Users/myusername/.rvm/src/yaml-0.1.4.
Error running 'make ', please read /Users/myusername/.rvm/log/ruby-1.9.3-p125/yaml/make.log

Database file /Users/myusername/.rvm/config/packages does not exist.