Tuesday, April 7, 2009

Kudos to Apple

Sometimes things just click... and it's really nice when they do. I needed to set up my MacPro (Leopard) as a development machine running Ruby on Rails and MySQL. At first I estimated 2 to 4 hours.

I had already installed MySQL plus a GUI front end called CocoaMySQL (Note that Google has since purchased CocoaMySQL and renamed its successors to SequelPro. This is good news for Mac heads like me because it shows a growing commitment to both MySQL and Macs.) so I wasn't worried about that.

I guess I didn't read the release notes too carefully, but Ruby and Rails are both pre-installed on Leopard. I opened a terminal window and typed "ruby --version" and "rails --version" and got the expected responses.

Auto-generating a Rails project seems to point ActiveRecord to the SQLite database engine, but editing the database.yml file is a simple thing to correct.

That was it! Even a developer environment using a local Web server "just worked"! I think the whole process took me less than 20 minutes and that's because I spent most of that time incredulous at how easy it was... Kudos to Apple.

No comments:

Post a Comment