My last tutorial has caused some people a few headaches, mainly due to mysql not installing properly and because it was using macports ruby and rubygems were recompiled and meant all your gems had to be installed too.
But there is a better way, since the release of Ruby on Rails 2.0.2, sqlite3 has become the default database for rails. Although I wouldn’t use sqlite3 in production it works great for development and testing on Leopard.
To set it up on a fresh install of leopard you only need on command:
sudo gem update
That should update rails to 2.0.2 and some other gems and you get started on rails so much quicker!
To update your existing rails apps to work with sqlite3 change your database.yml file to look like this pastie.
If your not on Leopard you can still use sqlite3 by installing the gem:
sudo gem install sqlite3-ruby