Forum: Ruby Issue installing gem on Mac OS 10.5.6

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Raghavendra K. (Guest)
on 2009-05-26 10:20
Hi all,
  I am having issues with installing the mysql gem with the mysql
version 5.0.81 .Bulk updating Gem source index for:
Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
  ERROR: Failed to build gem native extension.

extconf.rb install mysql -- --with-mysql-dir=/usr/local/mysql
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
Hunt J. (Guest)
on 2009-05-26 13:33
(Received via mailing list)
You need to pass something when you install mysql gem. Just google for

On Tue, May 26, 2009 at 3:20 PM, Raghavendra Kamat
This topic is locked and can not be replied to.