Ruby on Rails on RHEL4
I’ve struggled with a few things on RHEL4 (actually CentOS) during my initial review of Ruby on Rails. It’s taken a little getting used to, but overall it’s going to be a great productivity booster at work. This will be added to as new problems are addressed.Mysql.sock not found
It seems as if the default mysql.sock file is located at /tmp/mysql.sock on most linux distros. With RedHat I found it at /var/lib/mysql/mysql.sock, which means that you must configure the database.yml file to include the socket: directive.
e.g. socket: /var/lib/mysql/mysql.sock