On Aug 18, 7:43 pm, Craig Westmoreland <craigwest...@googlemail.com>
wrote:
> I am trying to switch from sqllite3 to mysql on Ruby on Rails.
>
> Whenever I try to install the mysql gem, i get an error:

when you ran gem install mysql did you tell it where to find mysql (eg
with -- --with-mysql-config=/path/to/mysql_config ) ?

Fred
>
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of
> necessary libraries and/or headers. Check the mkmf.log file for more
> details. You may need configuration options.
>
> I cd'd into my usr/local/bin directory and saw i have several mysql
> installs, and am thinking i've probably removed something along the
> way, and this it the problem.
>
> Please can someone explain how to delete all instances of mysql so I
> can re-install?
>
> Or - does someone know what i need to do to avoid this error?
>
> I have installed mysql-5.1.37-osx10.5-x86 as I am running Leopard
> 10.5.7
>
> ANy ideas to get me running on mysql?
>
> Many Thanks
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to