Forum: Ruby Issue installing gem on Mac OS 10.5.6

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5f49eec7b2f2fd3455427924b0bee60a?d=identicon&s=25 Raghavendra Kamat (rkrkrk21)
on 2009-05-26 08: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:
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
9239e324751b8db551789e5e16689438?d=identicon&s=25 Hunt Jon (Guest)
on 2009-05-26 11:33
(Received via mailing list)
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
This topic is locked and can not be replied to.