Quando attivi Mongrel su una macchina MacOS X (Intel) puoi avere questo messaggio:
"WARNING: You're using the Ruby-based MySQL lib
rary that ships with
Rails. This library is not suited for production. Please install the
C-based MySQL library instead(gem install mysql)."
L'installazione corretta della gemma mysql è la seguente:
sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config -with-mysql-dir=/usr/local/ mysql
Nessun commento:
Posta un commento