Where to put ruby.h?

I install ruby via a binary rpm, however I have a requirement to provide
swig with the ruby header file. Where in the directory structure should
I put it? "/usr/lib/ruby/1.8/include"? "/usr/lib/ruby"?

Regards,
Jim

···

--
Posted via http://www.ruby-forum.com/.

ruby.h should always be here:

ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]'

···

On Mar 1, 2006, at 1:22 PM, James Byrne wrote:

I install ruby via a binary rpm, however I have a requirement to provide
swig with the ruby header file. Where in the directory structure should
I put it? "/usr/lib/ruby/1.8/include"? "/usr/lib/ruby"?

--
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

Eric Hodel wrote:

ruby.h should always be here:

ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]'

Thank you.

···

--
Posted via http://www.ruby-forum.com/\.

Eric Hodel wrote:

ruby.h should always be here:

ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]'

After the light went on I installed the ruby-devel-1.8.4-1.c4.i386.rpm
for
CentOS4, which provided everything I needed and put it all in the right
places.

···

--
Posted via http://www.ruby-forum.com/\.