[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Issue installing gem on Mac OS 10.5.6

Raghavendra Kamat

5/26/2009 6:20:00 AM

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.rub...
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
--
Posted via http://www.ruby-....

1 Answer

Hunt Jon

5/26/2009 9:33:00 AM

0

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
<raghavendra.kamat@in.v2solutions.com> wrote:
> Hi all,
> =A0I am having issues with installing the mysql gem with the mysql
> version 5.0.81 .Bulk updating Gem source index for:
> http://gems.rub...
> Building native extensions. =A0This could take a while...
> ERROR: =A0Error installing mysql:
> =A0ERROR: Failed to build gem native extension.
>
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
> extconf.rb install mysql -- --with-mysql-dir=3D/usr/local/mysql
> --with-mysql-lib=3D/usr/local/mysql/lib
> --with-mysql-include=3D/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
> --
> Posted via http://www.ruby-....
>
>