Tip: Rails on OSX, Apache 1.3

Tags: 

Here's a little tip for running Rails apps on OSX's default install of Apache 1.3: make sure the dispatch.cgi file has the correct shebang line, i.e.:

#!/usr/local/bin/ruby

In the app I was trying to run it was set to a different path so wouldn't work - lots of hair-pulling later and I got it working.