rubyonrailsin

A Ruby and Rails talk

Sunday, March 14, 2010


[Rails] Error running mysql in ror

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

I just upgraded rails 2.3.5 and I got the error when I tried to run my application.

Here few information:
- My OS Mac Tiger
- Rails version 2.3.5
- Ruby version ruby 1.8.6
- gem version 1.3.6

- I run command: which rails
  >> /usr/local/bin/rails

- I run command: which ruby
  >> /usr/local/bin/ruby
 
- I run command: which mysql
  >> /usr/local/mysql/bin/mysql

I spent more than 7 hours to figure out and tried different things, but I still got error
I use this command, and still not working
sudo gem install mysql -v 2.7 -- --with-mysql-include=/usr/local/mysql/include/mysql --with-mysql-lib=/usr/local/mysql/bin/mysql --with-mysql config=/usr/local/mysql/bin/mysql_config

or

sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

Please help!!!

Yudi

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive