I actually ran into this problem last week, but haven't had time to look
at it yet. It should be possible to do something similar to how the
Python bindings find their install path.
Toby Collett wrote:
> Hey all,
> In current SVN trunk the swigged ruby library ignores the installation
> path set in the cmake config and always goes to the system ruby library
> path. This is bad for non privileged installs and for packaging (which
> is what I have been looking at). If anyone has bright ideas for a quick
> fix they would be apreciated, otherwise I will write some cmake
> processing to drop /usr off the path and replace it with <prefix> or
> something along those lines.