Is not that easy to get hooked up and working (well it wasn’t for me)…
So in an effort to save you a hunt around google follow these steps:
- Download the 64 bit version of Mysql and install
- You may need to update your PATH variable with the location of mysql, on my machine its /usr/local/mysql-5.1.40-osx10.5-x86_64/
- And then follow this command to compile the mysql gem: export ARCHFLAGS=”-arch i386 -arch x86_64″ ; sudo gem install –no-rdoc –no-ri mysql — –with-mysql-dir=/usr/local/mysql/lib –with-mysql-config=/usr/local/mysql/bin/mysql_config
You’ve hopefully arrived at a working mysql gem.
Good Luck!
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.