I have no root on the machine I'm working on, so I've had to install ruby in my home directory. Everything works fine, except that I am not able to compile any native ruby extensions because it cannot find ruby.h. I cannot work out for the life of me how to specify a particular include directory for ruby.h, I've tried setting environment variables for CFLAGS, CPPFLAGS and LDFLAGS with the relevant include directories and lib directories respectively.
Does anyone have any idea how to achieve this or any experience working with local installs of Ruby?
Thanks in advance, Ben