About three times a week, people message me or mail me with questions about their Rails app having permission problems. I’m posting this so people can figure this out themselves (not that I don’t appreciate the kind words that come with the questions).
Powerbook:~ tony$ mkdir /Library/WebServer/Rails
Powerbook:~ tony$ chgrp www /Library/WebServer/Rails
Powerbook:~ tony$ cd /Library/WebServer/Rails
Powerbook:~ tony$ rails ./MyWondrousRailsApp
So long as you create your Rails apps there, you shouldn’t have any problems. Basically, it looks like Rails needs read access to all of your application path – hence putting it in your home directory will result in your application throwing an error. Natch