Peter De Berdt wrote: > On 10 Feb 2008, at 20:24, Frederick Lee wrote: > >> >> Building native extensions. This could take a while... >> ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) >> ERROR: Failed to build gem native extension. > > If you have an Intel Mac, just run the following command (entering > your password when prompted): > sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql- > config=/usr/local/mysql/bin/mysql_config > If you have a PPC Mac (I hear some still exist), you�d enter: > sudo env ARCHFLAGS="-arch ppc" gem install mysql -- --with-mysql- > config=/usr/local/mysql/bin/mysql_config > > from http://hivelogic.com/articles/installing-mysql-on-mac-os-x/ > > > Best regards > > Peter De Berdt
I know i shouldn't resurrect threads but damn.. thank you so much. i've been trying to figure this out for a few hours and your line saved me ass (i'm tethered to my iphone on my way to show my application to my first client)... So again, thank you. If you're ever in new york, i owe you a beer. -- 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 -~----------~----~----~----~------~----~------~--~---

