|
Archive for November, 2011
Posted by Balaji D Loganathan on November 11th, 2011
brew install mysql Is you have installed mysql server already and have a failed mysql gem, then remove the mysql server first [ see] Do this to install mysql system tables: mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp Install mysql gem: sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-dir=/usr/local/Cellar/mysql --with-mysql-lib=/usr/local/Cellar/mysql/5.5.15/lib/ --with-mysql-include=/usr/local/mysql/5.5.15/include --with-mysql-config=/usr/local/Cellar/mysql/5.5.15/bin/mysql_config To find out what your machine is. use uname -a Tags: Distributed Agile, gem, Rails, Ruby, Ruby on RailsPosted in Ruby on Rails | 1 Comment » |