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 extensions.  This could take a while...
ERROR:  Error installing mysql:
        ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby 
extconf.rb install mysql -- 
--with-mysql-config=/usr/local/mysql/bin/mysql_config
can't find header files for ruby.


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?

Thanks!

Dean Richardson
-- 
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 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