Rails Setup
Been playing with Rails 2.3.2.1 and Passenger 2.1.2 but had some problems upgrading from the two respective earlier versions. The key was in the fact I probably didn’t RTFM. Following the guides.rubyonrails.org I’d got as far as section 4, changing the default index but whenever I did this or tried to view the controller directly on my Mac (10.5.6) it just 500 errored. The key was something that a friend (@neilmiddleton) alluded to was that the app was running in production mode. There was no errors in the log files also aiding the diagnosis. Solution? Pretty simple, just add an environment variable.
ServerName rortest.local
DocumentRoot "/Users/ian/Sites/rortest/public"
RailsEnv development
Now I’ve got to try and write something useful rather than hello world or a blog post/view page.