Where to put ruby.h?


#1

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


#2

On Mar 1, 2006, at 1:22 PM, James B. 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”?

ruby.h should always be here:

ruby -rrbconfig -e ‘puts Config::CONFIG[“archdir”]’


Eric H. - removed_email_address@domain.invalid - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com


#3

Eric H. wrote:

ruby.h should always be here:

ruby -rrbconfig -e ‘puts Config::CONFIG[“archdir”]’

Thank you.


#4

Eric H. 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.