I am having an issue getting this gem to install, but what has me more
baffled still is that, rails suposedly has no mysql gem by default
since version 2.0, and when i did a gem list this seemed to confirm
that as there was no mysql gem listed, but soing a rails app --
database=mysql, and subsequently doing rake db:create, managed to
create the database, i figure it was using an internal non native
gem.... but... what gives, and if i try to install the propper gem
all i get are errors, this are some of the options i have tried:
sudo gem install mysql -- --with-mysql-dir=/usr/bin/mysql
sudo gem install mysql -- --with-mysql-config=/usr/bin/mysql_config
sudo env ARCHFLAGS="-arch ppc" gem install mysql -- --with-mysql-
config=/usr/bin/mysql_config
sudo env ARCHFLAGS="-arch ppc" gem install mysql -- --with-mysql-
include=/opt/local/include/mysql5/mysql/ --with-mysql-lib=/opt/local/
lib/mysql5/mysql/mysql
sudo su -
ARCHFLAGS='-arch ppc' gem install mysql -- --with-mysql-config=/usr/
bin/mysql_config
ARCHFLAGS='-arch ppc' gem install mysql -- --with-mysql-config=/usr/
local/mysql/bin/mysql_config
none of this attemps seem to work...
so i am begging, has anybody out there been able to propperly install
the native mysql gem in leopard server running on a PPC ?
uname -a
Darwin server.domain-name.tld 9.7.0 Darwin Kernel Version 9.7.0: Tue
Mar 31 22:54:29 PDT 2009; root:xnu-1228.12.14~1/RELEASE_PPC Power
Macintosh