install darwinports package Add 'export PATH=/opt/local/bin:$PATH' to ~/.bashrc sudo port -d selfupdate sudo port install ruby sudo port install rb-rubygems sudo gem install rails --include-dependencies sudo port install readline sudo port install lighttpd vi /opt/local/etc/lighttpd.conf [edit lighttpd.conf to your liking] set up launchd item for lighttpd -- restart lighttpd: sudo launchctl stop net.lighttpd sudo launchctl start net.lighttpd sudo port install fcgi sudo port install rb-fcgi install official OS X MySQL package (not darwinports) sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
Links:
darwinports package
launchd item
OS X MySQL package