From: Henry Maddocks Date: 2007-05-24T05:51:11+09:00 Subject: Re: Ruby Header Files in Mac OS X On 24/05/2007, at 8:19 AM, Ari Brown wrote: > [Snow-iMac:~/Desktop/Programming/rubyforger] ari% ruby extconf.rb > can't find header files for ruby. > > Am I the only one having this issue? I have found ruby.h (assuming > that's the file it's looking for), and it's in the normal > directory. I have had this issue every time I try to install a new > Ruby library. > > I suppose ruby.h is not the file it's looking for? Have you set up your paths correctly? $ whereis ruby /usr/bin/ruby $ echo $PATH /usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/bin:/sbin:/usr/ bin:/usr/sbin The path to ruby should be in your $PATH