Hi,
root offers to install ruby bindings, but they are hidden in the non-standard
location /usr/lib/root, so users need to manually updated there RUBYLIB (where
ruby searches for libraries). This is an issue similar to bug 232124.
This patch updates RUBYLIB and, since the bindings library is called libRuby,
does some patching of Makefiles and source files to get it called ROOT (so
users can "require 'ROOT'" in their ruby code).
Probably, this renaming of the library will cause some confusion, since scripts
might not run, but the old situation is rather insane.
Cheers,
Benjamin
Reproducible: Always
Created an attachment (id=164082) [details]
updated patch against main tree
Hi,
I promised that renaming the library would case problems, and I just ran into
the first one: since the python and ruby modules with above patch have the same
name, python would not load it's module anymore.
I am attaching a patch that names the ruby modules ROOT_rb, a name much less
desirable than ROOT, but I still believe that a ruby module named libRuby in
the standard module load path is insane.