Snow Leopard is a gnarly old beast.
However, I left my Mountain Lion laptop with someone when visiting and needed to use my old backup Mac running Snow Leopard.
Some hints on how to get stuff (MySQL / Rails) working:
http://geryit.com/blog/installing-mysql-with-rails-on-mac-os-x-snow-leopard/
and
http://hivelogic.com/articles/compiling-mysql-on-snow-leopard