Issue installing gem on Mac OS 10.5.6


#1

Hi all,
I am having issues with installing the mysql gem with the mysql
version 5.0.81 .Bulk updating Gem source index for:
http://gems.rubyforge.org
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-dir=/usr/local/mysql
–with-mysql-lib=/usr/local/mysql/lib
–with-mysql-include=/usr/local/mysql/include
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

I just tried googing and also referred a lots of blogs but nothing seems
to be working.

Anbody please shed some light on this issue of mine


#2

You need to pass something when you install mysql gem. Just google for
it.

On Tue, May 26, 2009 at 3:20 PM, Raghavendra Kamat