Greg Donald wrote:
> On Nov 29, 2007 11:32 AM, pete <[email protected]> wrote:
>> Trying to get rails up and running on my linux box with mysql.  When I
>> try to install the mysql gem, I get the following:
>>
>> Building native extensions.  This could take a while...
>> ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
>>     ERROR: Failed to build gem native extension.
> 
> cd /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7
> gem install mysql -- 
> --with-mysql-config=/usr/local/mysql/bin/mysql_config
> 
> 
> --
> Greg Donald
> http://destiney.com/

This worked for me on Mac OS X Leopard with MySQL 5.1.34. In particular, 
the following command worked:

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

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to