Bugs item #9508, was opened at 2007-03-23 20:42
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9508&group_id=426

Category: Standard Library
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: vincent Angeloni (vinnie-bob)
Assigned to: Nobody (None)
Summary: some ruby gems fail to install

Initial Comment:
Hi -- I'm a noob so this may be something really simple.

I've tried to install a few gems and have installed gruff,color-tools,hoe,image_science,midilib,pdf-writer,progressbar,rake,rubyforge without problems. 

I tried to install scrubyt and it failed with error reported similar to below. I subsequently tried to install hpricot and mechanize by themselves and these failed also, as below:

----
G5-QUAD:~ vangelon$ sudo gem install hpricot
Select which gem to install for your platform (powerpc-darwin8.0)
 1. hpricot 0.5 (ruby)
 2. hpricot 0.5 (mswin32)
 3. hpricot 0.4 (mswin32)
 4. hpricot 0.4 (ruby)
 5. Skip this gem
 6. Cancel installation
> 1
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
    ERROR: Failed to build gem native extension.

ruby extconf.rb install hpricot
can't find header files for ruby.


Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/hpricot-0.5 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/hpricot-0.5/ext/hpricot_scan/gem_make.out
----

I'm on a Mac G5 Quad, 10.4.9, ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9508&group_id=426