Re: [Rails] mysql on mongrel vs apache

2010-03-13 Thread Eric Bolden
It looks like you are running out of memory (RAM) and disk-swapping is accounting for the difference in times. On Mar 13, 2010, at 3:43 AM, Ease Bus wrote: > > Thanks all. The amount of data on the Ubuntu staging server is a little bit > more than the data on my Leopard laptop. So the sligh

[Rails] Re: Problem with MYSQL after re-installing rails

2009-04-07 Thread Eric Bolden
Try installing the mysql gem with sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-dir=/ usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib --with-mysql- include=/usr/local/mysql/include from: http://newwiki.rubyonrails.org/database-support/mysql On Apr 7, 2009, at 5:53 AM

[Rails] Re: Just can't get Ruby on Rails to work in Leopard

2009-04-06 Thread Eric Bolden
I have found this site to be consistently useful http://newwiki.rubyonrails.org/database-support/mysql I used this command: $ sudo env ARCHFLAGS="-arch i386" gem install mysql -- \ --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/ lib \ --with-mysql-include=/usr/local/mysql/i

[Rails] Re: MySQL and RoR 2.2.2 -- deadlock?

2009-01-19 Thread Eric Bolden
Hi Kedar, I am certainly no expert, but I suffered with the error for several days too. I think you need more information on your install line. I used for OSX 10.5 sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/ mysql_config from: http://www.scribemedia.org/2009/01/02/in