Sunday, January 27, 2008

Installing Ruby on Rails on Mac OS X

As it turns out, installing Ruby on Rails on Mac OS X (Tiger) is not your usual drag n’ drop.

While some pre-built installer packages exist (see locomotive), the folks at rubyonrails.org recommend building it yourself. Besides, it’s always fun to learn new stuff.

I came across an excellent guide, that just worked perfectly, with no hassles whatsoever. It also goes through the process of installing additional software packages, such as MySQL native binaries, and subversion.

See it at hivelogic.com.

Two things need to be changed as of the time of writing thing entry:
Instead of using RubyGems version 0.9.0, which didn’t work for me, I used version 0.9.4. You can download it here. The second issue is with SubVersion's, um, version. Instead of 1.4.3, type 1.4.5, which is currently the latest version.

If you're using Mac OS X Leopard, Ruby on Rails is already an integral part of the operating system, so there's no real need for all of this setup.

No comments: