root@xxx:/opt/gitorious/config# gem install mysql
Building native extensions. This could take a while...
Successfully installed mysql-2.7
1 gem installed
Installing ri documentation for mysql-2.7...
Installing RDoc documentation for mysql-2.7...
root@xxx:/opt/gitorious/config# rake db:create:all
Character set 'utf8' is not a compiled character set and is not
specified in the '/usr/sfw/share/mysql/charsets/Index' file
ld.so.1: ruby: fatal: relocation error: file
mysql_sqlstate: referenced symbol not found