O
Oliver Obst
Hi all,
is there a generic way to find out where the ruby.h file is located?
Until now I was using something like
ruby -rrbconfig -e "print Config::CONFIG['archdir']
which worked on the systems I have tested (with ruby 1.6.something
preinstalled).
The last check I did was with ruby 1.8.0 (compiled from sources), and I
always get
ruby: No such file to load -- rbconfig (LoadError)
Am I doing something wrong here or is this just a ruby bug?
cheers
Oliver
P.S.: my ruby 1.8.0 was configured with
../configure --prefix=/xxx/local --exec-prefix=/xxx/local/intel-linux
because the filesystem is used by different OS/architectures
is there a generic way to find out where the ruby.h file is located?
Until now I was using something like
ruby -rrbconfig -e "print Config::CONFIG['archdir']
which worked on the systems I have tested (with ruby 1.6.something
preinstalled).
The last check I did was with ruby 1.8.0 (compiled from sources), and I
always get
ruby: No such file to load -- rbconfig (LoadError)
Am I doing something wrong here or is this just a ruby bug?
cheers
Oliver
P.S.: my ruby 1.8.0 was configured with
../configure --prefix=/xxx/local --exec-prefix=/xxx/local/intel-linux
because the filesystem is used by different OS/architectures