Agile Rails book code fails page 32

I had this same problem yesterday, and ran the following command to
install
the gem:

sudo gem install mysql – --with-mysql-dir=/usr/local/mysql

Obviously, though, --with-mysql-dir should be the directory of your
actual
mysql installation