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

2009-04-08 Thread Gavin
VICTORY! Installed an earlier version of MYSQL (5.0.37) and it all seems to be working fine now Thanks for your help fred On Apr 8, 9:59 am, Gavin wrote: > Yea - 32 bit version > > I tried installing the mysql gem with > > sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/ > m

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

2009-04-08 Thread Gavin
Yea - 32 bit version I tried installing the mysql gem with sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/ mysql_config and it worked! - kind of Now when I run gem list it appears.. actionmailer (2.3.2, 2.1.0) actionpack (2.3.2, 2.1.0) activerecord (2.3.2, 2.1.0) activere

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

2009-04-08 Thread Frederick Cheung
On Apr 8, 12:25 am, Gavin wrote: > Hmmm - have downloaded and re-installed MYSQL 5.1.33 > but did you get the 32bit version ? (and have you tried using --with- mysql-config=/path/to/mysql_config ?) Fred > Still getting the same issue. > In pref pane it shows that mysql is running. > > Can anyb

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

2009-04-07 Thread Gavin
Hmmm - have downloaded and re-installed MYSQL 5.1.33 Still getting the same issue. In pref pane it shows that mysql is running. Can anybody think of anything else I can check/do? Really need to get my database back up and running soon :S Thanks On Apr 7, 8:31 pm, Frederick Cheung wrote: > On

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

2009-04-07 Thread Dean Richardson
All: I'm encountering similar errors and difficulties. When I enter: sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr /local/mysql/bin/mysql_config as many have suggested, I still get the same "can't find header files for ruby" error message: Building native ext

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

2009-04-07 Thread Gavin
@frederick Yea - installed MYSQL from the package and it is running in the system preferences pane- basically followed the steps on dan benjamins tutorial on installing rails on OSX tiger. @Eric - tried the command in terminal - just got the same error. Any suggestions guys? thanks On Apr 7,

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

2009-04-07 Thread Gavin
Yea - I noticed that Dean If you work this out before me, do let me know I'll be sure to do the same if I can get this working :S On Apr 7, 7:36 pm, Dean Richardson wrote: > All: > > I'm encountering similar errors and difficulties.  When I enter: > > sudo env ARCHFLAGS="-arch i386" gem instal

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

2009-04-07 Thread Frederick Cheung
On Apr 7, 7:36 pm, Dean Richardson wrote: > > Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/mysql-2.7 > for inspection. > Results logged to /Library/Ruby/Gems/1.8/gems/mysql-2.7/gem_make.out > > Any suggestions for diagnosing my mistake here? > That sounds like a different issu

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

2009-04-07 Thread Frederick Cheung
On Apr 7, 7:21 pm, Gavin wrote: > @frederick > > Yea - installed MYSQL from the package and it is running in the system > preferences pane- basically followed the steps on dan benjamins > tutorial on installing rails on OSX tiger. > > @Eric - tried the command in terminal  - just got the same e

[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: Problem with MYSQL after re-installing rails

2009-04-07 Thread Frederick Cheung
On Apr 7, 11:59 am, Ruby Rails wrote: > Restart u'r computer or start u'r mysql server.Bassically this error occur > due to not running of mysql server. > Hog wash. > On Tue, Apr 7, 2009 at 4:23 PM, Gavin wrote: > > > Hey all- > > > Re-installed OSX yesterday and with it, Ruby and Rails > >

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

2009-04-07 Thread Ruby Rails
Restart u'r computer or start u'r mysql server.Bassically this error occur due to not running of mysql server. On Tue, Apr 7, 2009 at 4:23 PM, Gavin wrote: > > Hey all- > > Re-installed OSX yesterday and with it, Ruby and Rails > > Now when I try to run db:migrate I get the error message: > > "!