I sat down to work on the most recent Bugmash. First I followed Yehuda Katz’s instructions on getting started with Rails 3. Those instructions worked great for running an app on Rails 3, but they’re not quite sufficient for working on Rails itself. Here are some pointers for that, as well as a few unresolved issues:
- Install the latest MySQL using the DMG version. By default, it installs into
/usr/local/mysql, which is fine. - Install the latest PostgreSQL also using the DMG version. By default, it installs into
/Library/PostgreSQL, which is fine. - Add
/Library/PostgreSQL/binto your$PATH. You probably want to do this in your~/.bash_profileor equivalent. - Go to the directory in which you
cloned Rails and add abuild_options.ymlfile. In it, place the following: - Run
gem bundle -b build_options.yml - Run
rake
Most of the tests run so far, but I’m still having trouble getting Rails 3 to actually connect to the MySQL and PostgreSQL databases. I’ll have to work on that.